You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Cow<'static, str> is returned, but it's always Cow::Owned. I wonder whether its more useful to have a simpler type (String instead of Cow<'static, str>) in the common case or whether always getting a Cow back is more useful. The same goes for ByteStringLit::into_value.
The text was updated successfully, but these errors were encountered:
Currently
Cow<'static, str>
is returned, but it's alwaysCow::Owned
. I wonder whether its more useful to have a simpler type (String
instead ofCow<'static, str>
) in the common case or whether always getting aCow
back is more useful. The same goes forByteStringLit::into_value
.The text was updated successfully, but these errors were encountered: