Replies: 1 comment
-
I assume you are talking about the SmolStr type of smol_str crate, which is irrelevant to the smol-rs project. Any questions about smol_str crate need to be asked in their repository: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's the best way to convert bytes or
OsStr
to aSmolStr
using lossy UTF-8 decoding, avoiding the extra allocation ofto_string_lossy().to_smolstr()
?Beta Was this translation helpful? Give feedback.
All reactions