this post was submitted on 28 Dec 2021
4 points (100.0% liked)

Rust Programming

8161 readers
7 users here now

founded 5 years ago
MODERATORS
 

I want to use the crate human-sort but it only takes [&str] and I'm currently working with Vec<String>.
Is this possible to make the conversion Vec<String> to [&str]? and in the other way?

you are viewing a single comment's thread
view the rest of the comments
[–] Reaton@lemmy.ml 1 points 2 years ago

Thanks for taking time to explain in details!