Rust — string to char array

Frankie Liu
Eins Zwei
Published in
1 min readDec 28, 2019

.chars() converts the string to a char iterator

.collect() converts the iterator to a collection

--

--