Rust: Strings
Status: Courses Tags: Rust
- 2 types of strings
- &str ( stir )
- String
&stris a pointer to the existing string on heap or stackStringis allocated on heap
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Status: Courses Tags: Rust
&str is a pointer to the existing string on heap or stackString is allocated on heap