Closed maciejhirsz closed 7 years ago
In a situation where a String is already allocated, having a shortcut to create a InlinableString::Heap might be helpful.
String
InlinableString::Heap
Additionally, this enables static generic implementations for S: Into<InlinableString> accepting either &str or String.
S: Into<InlinableString>
&str
Thanks!
@maciejhirsz would you like to be a co-owner of this crate?
In a situation where a
String
is already allocated, having a shortcut to create aInlinableString::Heap
might be helpful.Additionally, this enables static generic implementations for
S: Into<InlinableString>
accepting either&str
orString
.