diff --git a/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/103-character.md b/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/103-character.md index e152cc0f6..2c3c15484 100644 --- a/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/103-character.md +++ b/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/103-character.md @@ -1,7 +1,10 @@ # Character -In Rust, the `char` keyword is used to denote a character type. A `char` in Rust represents a Unicode Scalar Value, which means it can represent a lot more than just ASCII. Accented letters, Chinese/Japanese/Korean ideographs, emoji, and zero width spaces are all valid `char` Types in Rust. It uses 4 bytes to store a single character. It is defined with single quotes like `let x: char = 'z';`. +In Rust, the `char` keyword is used to denote a character type. A `char` in Rust represents a **Unicode Scalar Value**, which means it can represent a lot more than just ASCII. Accented letters, Chinese/Japanese/Korean ideographs, emoji, and zero width spaces are all valid `char` Types in Rust. It occupies in memory the same size of `u32` type, that's 4 bytes (or `32bit`) to store a single character. It is defined with single quotes like `let x: char = 'z';`. Learn more from the following links: -- [@article@The Character Type](https://rust-book.cs.brown.edu/ch03-02-data-types.html#the-character-type) \ No newline at end of file +- [@offcial@The char Primitive Type](https://doc.rust-lang.org/std/primitive.char.html) +- [@article@The Character Type](https://rust-book.cs.brown.edu/ch03-02-data-types.html#the-character-type) +- [@article@Unicode Glossary - Unicode Scalar Value](https://www.unicode.org/glossary/#unicode_scalar_value) +- [@video@Char Type in Rust](https://www.youtube.com/watch?v=NZaEinuVPVg&pp=ygURY2hhciB0eXBlIGluIHJ1c3Q%3D) diff --git a/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/104-tuple.md b/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/104-tuple.md index 80662cd27..0dfa2fb51 100644 --- a/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/104-tuple.md +++ b/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/104-tuple.md @@ -4,4 +4,6 @@ In Rust, a **Tuple** is a type of data structure that holds a finite number of e Learn more from the following links: -- [@article@The Tuple Type](https://rust-book.cs.brown.edu/ch03-02-data-types.html#the-tuple-type) \ No newline at end of file +- [@official@Tuple - Rust](https://doc.rust-lang.org/std/primitive.tuple.html) +- [@article@The Tuple Type](https://rust-book.cs.brown.edu/ch03-02-data-types.html#the-tuple-type) +- [@video@Rust Tutorial - Tuples](https://www.youtube.com/watch?v=t047Hseyj_k&t=506s) diff --git a/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/105-array.md b/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/105-array.md index e99fd1226..4a1617b2c 100644 --- a/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/105-array.md +++ b/src/data/roadmaps/rust/content/101-language-basics/103-data-structures/105-array.md @@ -4,4 +4,7 @@ In Rust, an `array` is a collection of elements of the same type, organized cons Learn more from the following links: -- [@article@The Array Type](https://rust-book.cs.brown.edu/ch03-02-data-types.html#the-array-type) \ No newline at end of file +- [@official@Rust - array](https://doc.rust-lang.org/std/primitive.array.html) +- [@article@The Array Type](https://rust-book.cs.brown.edu/ch03-02-data-types.html#the-array-type) +- [@article@Rust Array (With Examples)](https://www.programiz.com/rust/array) +- [@video@Rust Tutorial - Arrays](https://www.youtube.com/watch?v=t047Hseyj_k&t=767s)