Перейти к содержимому

Rust Crash Course | #7 Overflow, Type Casting & Conversion

Code of the Future

0:00 / 0:00

Rust Crash Course | #7 Overflow, Type Casting & Conversion

1 556 просмотров · 4 г. назад
Code of the Future
25,7 тыс. подписчиков
1 556 просмотров · 4 г. назад
Welcome back to video number 7 in this Rust tutorial series! In this video, I talk you through a very important aspect of Rust: Overflow. We look at the consequences of overflow and how to overcome it using methods like type casting and conversion. NOTE: the range for a u8 is 0 to 255 (not 225 as said in the video) 📖Resources📖 Rust Online Book: https://doc.rust-lang.org/book/ 💻Code💻 https://github.com/code-of-the-future... ⏰Time Stamps⏰ 00:00 - Quick Recap of the Previous Video 01:27 - Overflow 14:24 - Type Casting and Conversion 🔗 Social Media Links 🔗 ▶️YouTube:    / @codeofthefuture   📸 Instagram:   / codeofthefuture   📱TikTok:   / codeofthefuture   📘Facebook:   / codeofthefuture   🦜Twitter:   / code_ot_future   📝LinkedIn:   / code-of-the-future   📂GitHub: https://github.com/code-of-the-future 💸 Donations 💸 One-Time Donations: https://ko-fi.com/codeofthefuture Patreon:   / code_of_the_future