Keyboard shortcuts

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

Rust: Strings

Status: Courses Tags: Rust

  1. 2 types of strings
    1. &str ( stir )
    2. String
  2. &str is a pointer to the existing string on heap or stack
  3. String is allocated on heap