Rust For Beginners Tutorial - Primitive Types

preview_player
Показать описание
This video dives into primitive types in Rust! Check it out if you want to learn about the Slice type, Tuples and more!

---
0:00 Intro
0:17 Exercise 1
1:44 Exercise 2
4:32 Exercise 3
6:26 Exercise 4
11:16 Exercise 5
13:43 Exercise 6
15:28 Outro

---
Other Rust content by Pascal:

---

---
Рекомендации по теме
Комментарии
Автор

Tried ex. 3 with let a = 0..101; then with a very long string and it did the trick.

Phonosheet
Автор

How come for accessing tuple index you use a syntax without the address but for an array you need to?

eg

let second = numbers.1;

vs

let nice_slice = &a[1..4];

Thanks for the video

wincentydulkowski