|
|
|
|
|
by pcwalton
3619 days ago
|
|
> That felt like a lot of boilerplate to abstract between str and [u8]. Is there a better way to solve that problem? This doesn't have anything to do with large vs. small standard libraries, because all of these string types are defined in libstd. |
|
I'd love to see additional support for handling bytestrings in libstd, to make it easier to write code that handles both &str and &[u8].