Re:Rust needs to run, and be easy to use, on every platform
by steveklabnik on Thursday March 08, 2018 @02:27PM
(#16546902)
I often joke that str/StrBuf is my one wish for a Rust 2.0, but 2.0 will never happen.
This confusion is why we reorganized the book to talk about String and &str very early on, and use them to teach ownership and borrowing.
Path/PathBuf have better names, but the distinction still isn't immediately obvious.
String/str is the cause of so much confusion.