Re:Programming ARM Cortex-M Microcontrollers with Rust
by carrigan on Sunday April 09, 2017 @09:49AM
(#14072248)
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 :)
[ Parent
| on HN ]
Re:Programming ARM Cortex-M Microcontrollers with Rust
by steveklabnik on Sunday April 09, 2017 @09:54AM
(#14072265)
No problem! It is slightly obtuse, given that you store a u8 buffer and then make &strs from it, rather than storing a &str.