3 ms·
These are just minor syntax complaints though. You get used to it, and start to appreciate some of this stuff quickly IMO. I spent far too much time trying to
by serge2k 10y ago
These are just minor syntax complaints though. You get used to it, and start to appreciate some of this stuff quickly IMO.
I spent far too much time trying to figure out how to use string and str. That's where it becomes absurd. I'm fine with fighting with the type/memory systems a bit, but when something that seems simple becomes a confusing mess it's just frustration.
- steveklabnik 10y agoThe second edition of the book uses String and &str to explain ownership and borrowing, since this is a common pitfall: http://rust-lang.github.io/book/ch04-00-understanding-ownership.html http://rust-lang.github.io/book/ch04-00-understanding-owners...