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
I've come across this article which shows how it's good for an API where it takes a string from the user. Not sure how it's useful when it's the other way around though?
It's useful because on macOS I'd need to allocate a string, but on Windows I wouldn't, and I think this is the best way to abstract over maybe allocating a string. I guess it could also be ... -> impl Into<String> + Borrow<str> or something like that, but that's more complicated.
The text was updated successfully, but these errors were encountered: