r/learnrust • u/Weekly-Alfalfa6440 • 4h ago
Helpful website for RUST
Hey guys, currently i am learning rust, i came from cpp background and sometimes it was too difficult for me to write syntax in rust. Even though we know concepts behind rust, we(like me) dont know all the small functions that are require to do something in easy way, so yesterday i got a situation where i need to sort the string so in cpp we will do like
string s = "myself";
sort(s.begin(),s.end());but in rust
let word = "myself";
let mut chars = word.chars().collect();
chars.sort();
let s = chars.into_iter().collect();but i don't know all this methods are there, so i gave a prompt to claude and it created this website for me,maybe useful to you https://rustatlas.vercel.app/
Happy programming!!