Closed jwerle closed 4 years ago
This PR implements a constructor function string::from() for a String+ type making it easy to create a new string from bytes and size. This is similar to slice::mut_slice::make().
string::from()
String+
slice::mut_slice::make()
thinking about a string::from_slice() and/or string::from_mut_slice() too
string::from_slice()
string::from_mut_slice()
yup. from_mut_slice shouldnt be neeed due to autocasting..
This PR implements a constructor function
string::from()
for aString+
type making it easy to create a new string from bytes and size. This is similar toslice::mut_slice::make()
.