Loading tutorials
cargo run or rustc. You should also be comfortable reading a short compiler error message.2 min readlet declare a binding. Here you learn what "immutable by default" means, what the compiler enforces, and why the language w3 min readcargo run or rustc, and read a simple compiler error. You should already know that a let binding is immutable by default. Here you will learn how mut changes that, what the compiler checks when you use it, and when it is the right3 min readlet, know that bindings are immutable by default, and have seen mut. You should also be able to run a program with cargo or rustc and read a basic compiler error.2 min readlet bindings, mut, and shadowing from the earlier chapters. It also assumes you can read basic Rust type annotations such as u32 and &str.3 min readlet, know the difference between let and let mut, and can read simple compiler errors. It covers how Rust decides the type of a binding, and when you must write the type yourself.3 min readcargo or rustc. You should also know how let bindings and type annotations work. Here you will learn which integer types Rust offers, how to write integer literals, and how the compiler picks a type when you don't name one.3 min readbool, and char. It assumes you can declare variables with let, read compiler errors, and know how integer types and annotations work from earlier chapters.2 min readcargo, and that you know the fixed-width integer types such as u8 and i32 from the previous chapters.3 min readlet and mut work, and know the scalar types (integers, floats, bool, char). A compound type groups several values into one. Rust has two built-in compound types for this: tuples and arrays.3 min readlet bindings, the integer and float types, and how to read a simple compiler error. Rust never converts between numeric types implicitly. You pick a conversion tool, and each tool states how it handles values that do not fit.2 min readlet, mut, and shared references (&T) from earlier chapters. It gives an overview only. Ownership and borrowing rules get fuller treatment elsewhere.3 min read