2 ms·
The two different string types are the result of the borrow checker. Rust's string handling would be unusable without the difference between &str and String.
by pcwalton 9y ago
The two different string types are the result of the borrow checker. Rust's string handling would be unusable without the difference between &str and String.