Y
Hacker News
new
|
ask
|
show
|
jobs
by
carrigan
3351 days 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 :)
1 comments
steveklabnik
3351 days 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.
link