… despite its documentation claiming it doesn’t.
Ideally, we should:
- Add a no-copy
Vec::from_owned_slice
, based on Vec::from_raw_parts
- Change
StrBuf::from_owned_str
to use Vec::from_owned_slice
Alternatively (or in the meantime), remove the claim from the documentation.