Loading tutorials
&, &mut), how Option and match work, and how to run a program with cargo run.2 min readOption and match, and how to run programs with cargo. It covers the two ways to read one element from a Vec<T>. They differ in how they handle a position that does not exist.2 min read&, &mut), and how to run programs with cargo. You should also have seen Vec::new, vec! and push.2 min read& and &mut), have used Vec::push, and can run programs with cargo.2 min readVec methods that change a vector in place. It assumes you know basic Rust syntax, ownership and borrowing, Option and match, and how to run programs with cargo. You should also know how to create a Vec and read from it.2 min read&, &mut, moves), Option and match, and how to run programs with cargo. You should also have read the chapters on creating a Vec and on reading elements with indexing and get.2 min readmatch expressions, and that you already know how to create a Vec, push to it and loop over it.2 min readVec, push to it, and read it with indexing or get. It also assumes you know what a move and a borrow are. Here you will see how a Vec manages its memory, and how to avoid needless reallocation.3 min readOption and match, and how to run programs with cargo. It also assumes you have used Vec<T> from the earlier chapters.2 min read& and &mut, and how to create a HashMap and call insert and get. It covers what happens to the values you put into a map and how to avoid the errors that follow.2 min readHashMap, call insert and get, and read Option values with match. It also assumes you know what &mut means.2 min readHashMap, insert and read entries, and that you know how for loops borrow or consume a collection. If those are new, review the earlier chapters on Vec iteration and HashMap basics first.2 min readHashMap operations (insert, get, remove), ownership and borrowing, and how to derive traits on structs.2 min readmap and filter, and that you can read Option and Result values. You should also have a working Vec and HashMap.1 min readHashMap, and that you know what #[derive(Hash)] does for a key type. It covers what happens between a key and the bucket that holds it, and how to swap in a different hash function.2 min readVec<T> and a HashMap<K, V>, and that you know what Eq and Hash mean for keys. Here you will pick a collection by looking at how your program reads its data.2 min read