7 ms·
This is exactly what I was looking for; I had only checked the String and &str documentation and didn't think to look for a macro. Thanks :)
by carrigan 9y ago
This is exactly what I was looking for; I had only checked the String and &str documentation and didn't think to look for a macro. Thanks :)
- steveklabnik 9y agoNo problem! It is slightly obtuse, given that you store a u8 buffer and then make &strs from it, rather than storing a &str.