Open SoniEx2 opened 6 years ago
&[u8] can be converted to &str (rather than String) in some cases, and vice-versa. std::borrow::Cow would be nice.
&[u8]
&str
std::borrow::Cow
&[u8]
can be converted to&str
(rather than String) in some cases, and vice-versa.std::borrow::Cow
would be nice.