Rust: String

Опубликовано: 27 Февраль 2026
на канале: The Dev Method
2,366
98

Strings are represented as a collection of bytes. We have a string type str referred to as a string slice and it is usually used in its borrowed form of &str. We will primarily be talking about String today.

Review of Ownership and Borrowing
   • Rust: Ownership and Borrowing  

String docs
https://doc.rust-lang.org/std/string/...