1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-20 06:21:09 +02:00

Merge pull request #81 from google/utf-8-encoding

Mention that strings are UTF-8 encoded
This commit is contained in:
Martin Geisler 2022-12-28 20:38:46 +01:00 committed by GitHub
commit d8fd38b88a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,4 +15,4 @@ What you see:
* Blocks are delimited by curly braces like in C and C++.
* The `main` function is the entry point of the program.
* Rust has hygienic macros, `println!` is an example of this.
* Rust strings can contain Unicode characters, such as emoji.
* Rust strings are UTF-8 encoded and can contain any Unicode character.