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
.collect() is a trait method so I don't think it can be optimized that way, but I'm open to there being other APIs for it if it doesn't end up being too complicated
I want to use this crate to normalize a search, so i have concern about the performance of
.collect::<String>
.Is there a way to reuse the previous value, when possible ?
When i try
.collect::<Cow<str>>
, i always seeOwned("...")
in the debugger.The text was updated successfully, but these errors were encountered: