Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
carrigan
· 9y ago · 0 comments
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 :)
Comments
[–]
steveklabnik
9y ago
No problem! It is slightly obtuse, given that you store a u8 buffer and then make &strs from it, rather than storing a &str.