
Already know some of this? A 2-minute test skips the lessons you know.
Take the placement testA free 49-lesson course built from freeCodeCamp.org's 13h 59m of YouTube video. 9 days at 90 minutes a day, with study notes and a quiz in every lesson. A 2-minute placement test skips what you already know.
Taught by freeCodeCamp.org on YouTube. Videos play in YouTube's own player, so the creator keeps every view.
Understand course goals, learning resources, and write your first Rust program using the online playground.
Declare variables with let, control mutability with mut, understand scope and shadowing, and fix compiler warnings for unused variables.
Distinguish signed and unsigned integers of various bit-widths, understand two's complement for negatives, and convert between number bases.
Use pointer-sized integers for memory addresses, work with f32/f64 floats, and handle precision issues with type annotations.
Let the compiler infer types, explicitly cast between primitives with as, and control overflow behavior with saturating casts.
Differentiate statements (ending with ;) from expressions (returning values), and use implicit returns by omitting semicolons.
Define functions with typed arguments, return values implicitly, use panic!/unimplemented for diverging functions, and match on bool.
Apply the three ownership rules, distinguish stack (fixed-size) from heap (dynamic) allocation, and visualize memory layout.
Inspect String's pointer/length/capacity, understand heap allocation, and pre-allocate capacity to avoid reallocations.
Differentiate move (heap types) from copy (stack types), and see how assignment transfers ownership for non-Copy types.
Create immutable/mutable references with &, obey borrowing rules (one mut or many immut), and avoid dangling references.
Contrast owned String with borrowed &str, slice strings with byte offsets, and convert between them using as_str or &s[..].
Create tuples of mixed types, access fields by index, destructure with let patterns, and use tuples as function arguments/returns.
Define named structs with fields, instantiate with shorthand syntax, update via spread syntax, and use tuple/unit struct variants.
Define enums with data-carrying variants, match exhaustively, use if let for concise Option unwrapping, and match on slices.
Use if/else expressions, for/while/loop with break/continue/labels, and match expressions for exhaustive pattern handling.
Implement methods (with self) and associated functions on structs/enums, organize code across multiple impl blocks.
Write generic functions/structs with type parameters, constrain them with trait bounds (Add, Debug), and use turbofish syntax.
Define traits, implement for types, use impl Trait return types, and box trait objects for dynamic dispatch via vtables.
Define associated types in traits, implement From/Into for conversions, and overload operators via std::ops traits.
Manipulate String with push/pop, slice via byte offsets, iterate chars with enumerate, and convert from UTF-8 byte vectors.
Create vectors with vec!, iterate by reference/value, manage capacity with reserve/shrink_to_fit, and extend from iterators.
Insert/remove entries, use entry API for in-place mutation, require Hash+Eq for keys, and control capacity/shrinking.
Cast primitives with as, handle overflow with saturating casts, and implement From for automatic Into conversions.
Trigger panics, configure abort vs unwind, use Result<T,E> with match/unwrap/?, and propagate errors from main.
Create packages with cargo new, split code into lib.rs/bin.rs, organize modules with pub/use/super, and call library code.
Derive Debug for standard formatting, manually implement Display for custom output, and use format!/print! macros.
Annotate lifetime parameters on references, apply three elision rules to omit annotations, and use 'static for program-wide data.
Distinguish Fn/FnMut/FnOnce by capture behavior, pass closures as arguments with trait bounds, and return closures via boxing.
Implement Iterator with next(), chain adapters like map/filter, and collect results with consuming methods like collect().