2 ms·
And to be clear, 10.3 is just the intro; we have a full chapter later with the complicated stuff. We decided to do it this way so that you can write real Rust
by steveklabnik 10y ago
And to be clear, 10.3 is just the intro; we have a full chapter later with the complicated stuff.
We decided to do it this way so that you can write real Rust code without going "what is that syntax"; you don't need to have a full understanding of the more exotic aspects of lifetimes to write useful code in Rust.