├── change-notes.txt ├── Macros ├── section-remote-info.yaml ├── Intro │ ├── lesson-remote-info.yaml │ ├── Intro │ │ ├── src │ │ │ └── main.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── The Difference Between Macros and Functions │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ └── lesson-info.yaml ├── Procedural Macros │ ├── lesson-remote-info.yaml │ ├── Summary │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── hello_macro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── lib.rs │ │ └── Cargo.toml │ ├── Attribute-like macros │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Function-like macros │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── hello_macro_derive │ │ └── task-remote-info.yaml │ ├── How to Write a Custom derive Macro │ │ └── task-remote-info.yaml │ └── Procedural Macros for Generating Code from Attributes │ │ ├── task-remote-info.yaml │ │ └── src │ │ └── main.rs ├── Declarative Macros │ ├── Implement a Macro │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── task.md │ ├── Declarative Macros with macro_rules │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── Macro Arms │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Calling a Macro │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Declaring a Macro │ │ ├── Cargo.toml │ │ └── task-remote-info.yaml │ └── Outside of Module │ │ ├── Cargo.toml │ │ └── task-remote-info.yaml └── section-info.yaml ├── Modules ├── section-info.yaml ├── Modules │ ├── Home Alone at Day X │ │ ├── src │ │ │ ├── ground_floor │ │ │ │ ├── kitchen.rs │ │ │ │ ├── big_hall.rs │ │ │ │ └── storage_room.rs │ │ │ ├── second_floor │ │ │ │ ├── library.rs │ │ │ │ ├── office.rs │ │ │ │ └── astronomy_tower.rs │ │ │ ├── first_floor │ │ │ │ ├── guest_bedroom.rs │ │ │ │ ├── master_bedroom.rs │ │ │ │ └── toys_room.rs │ │ │ ├── main.rs │ │ │ ├── ground_floor.rs │ │ │ ├── second_floor.rs │ │ │ └── first_floor.rs │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── tests │ │ │ └── output.txt │ ├── Quick Reference │ │ ├── src │ │ │ ├── garden.rs │ │ │ └── garden │ │ │ │ └── vegetables.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Summary │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Defining Modules │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── The Glob Operator │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Time To Check Time │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── tests │ │ │ └── tests.rs │ ├── Using External Packages │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Making Structs and Enums Public │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Re-exporting Names with pub use │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Exposing Paths with the pub Keyword │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Separating Modules into Different Files │ │ ├── src │ │ │ ├── front_of_house.rs │ │ │ └── front_of_house │ │ │ │ └── hosting.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Starting Relative Paths with super │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Intro │ │ ├── src │ │ │ └── main.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Providing New Names with the as Keyword │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Using Nested Paths to Clean Up Large use Lists │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── Making a sausage │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Eating Some Snacks │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Bringing Paths into Scope with the use Keyword │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Paths for Referring to an Item in the Module Tree │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml └── section-remote-info.yaml ├── Common Collections ├── Vectors │ ├── lesson-remote-info.yaml │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Count Typed Cells │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Creating a New Vector │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Loop Over a Vector │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Reference vs push │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Updating a Vector │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Create a Vector on Your Own │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Reading Elements of Vectors │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Dropping a Vector Drops Its Elements │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Iterating over the Values in a Vector │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Using an Enum to Store Multiple Types │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── Hashmaps │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── Fruits Delivery │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── More Fruits │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Build Scores Table │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Updating a Hash Map │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Creating a New Hash Map │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Hash Maps and Ownership │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Accessing Values in a Hash Map │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── Options │ ├── lesson-remote-info.yaml │ ├── Use Option │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Optional Value │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── tests │ │ │ └── tests.rs │ ├── Check Clippy for Option │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Check More Clippy Suggestions │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── lesson-info.yaml ├── Strings │ ├── lesson-remote-info.yaml │ ├── Summary │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Slicing Strings │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Process Some Strings │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── String Transformer │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Updating a String │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Creating a New String │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Indexing into Strings │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Iterating Over Strings │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Intro │ │ ├── src │ │ │ └── main.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Return a String │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── String Slice │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Strings and strs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── section-remote-info.yaml └── section-info.yaml ├── Introduction ├── section-info.yaml ├── Getting started │ ├── Editor │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ ├── Cargo.toml │ │ ├── edu_editor.png │ │ └── edu_context_menu_run.png │ ├── Course View │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ ├── Cargo.toml │ │ └── edu_course_view.png │ ├── External Linter │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Navigating Around │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Task Description │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── About │ │ ├── src │ │ │ └── main.rs │ │ ├── Cargo.toml │ │ └── task-remote-info.yaml │ ├── Hello World │ │ ├── src │ │ │ └── main.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ └── lesson-info.yaml └── section-remote-info.yaml ├── Standard Library Types ├── section-remote-info.yaml ├── Closures │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── unwrap_or_else │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Example sort_by_key │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Filter a sequence with a closure │ │ ├── task-remote-info.yaml │ │ ├── tests │ │ │ └── output.txt │ │ └── Cargo.toml │ ├── Capturing References or Moving Ownership │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Capturing the Environment with Closures │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Closure Type Inference and Annotation │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Moving Captured Values Out of the Closure and the Fn Traits │ │ ├── task-remote-info.yaml │ │ └── src │ │ └── main.rs ├── Smart Pointers │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── Box Task │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Use Cow │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Use Rc │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Switch the Lamp │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── lib.rs │ │ └── Cargo.toml │ ├── Workers in the Engine │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── lib.rs │ │ └── Cargo.toml │ └── lesson-info.yaml ├── Type Conversions │ ├── lesson-remote-info.yaml │ ├── FromStr │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Using As │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── From Into │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Try From Into │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── AsRef and AsMut │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── lesson-info.yaml ├── Iterators │ ├── Count Progress │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Capitalize first │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Iterable Collection │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── tests │ │ │ └── tests.rs │ ├── Loop Over Vector With Iterators │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── Methods that Consume the Iterator │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Methods that Produce Other Iterators │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── The Iterator Trait and the next Method │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Using Closures that Capture Their Environment │ │ └── task-remote-info.yaml │ ├── lesson-remote-info.yaml │ ├── Factorial │ │ ├── src │ │ │ └── lib.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Iterator │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Processing a Series of Items with Iterators │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml └── section-info.yaml ├── Error Handling ├── Errors Primer │ ├── lesson-remote-info.yaml │ ├── Custom Errors │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Advanced Errors 2 │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Advanced Errors │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Multiple Errors │ │ ├── Cargo.toml │ │ ├── task-remote-info.yaml │ │ └── tests │ │ │ └── tests.rs │ ├── Positive Nonzero Integer │ │ ├── Cargo.toml │ │ └── task-remote-info.yaml │ └── lesson-info.yaml ├── Error Handling │ ├── Summary │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Propagating Errors │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Using a panic Backtrace │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Matching on Different Errors │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Propagating Errors Limitations │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Unrecoverable Errors with panic │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── A Shortcut for Propagating Errors │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Intro │ │ ├── src │ │ │ └── main.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Shortcuts for Panic on Error - unwrap and expect │ │ └── task-remote-info.yaml │ ├── lesson-remote-info.yaml │ ├── Matching Result 2 │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Matching Result │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Returning Result │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Recoverable Errors with Result │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── section-info.yaml └── section-remote-info.yaml ├── .cargo └── config.toml ├── Common Programming Concepts ├── Repetitions │ ├── Find a sum │ │ ├── tests │ │ │ └── output.txt │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── Print Months │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── task.md │ ├── Looping through Ranges │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Conditional Loops with while │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Looping Through an Array with for │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Repetition with Loops │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── Basic Data Types │ ├── lesson-remote-info.yaml │ ├── Booleans │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Characters │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Numeric Test │ │ ├── task-remote-info.yaml │ │ ├── tests │ │ │ └── output.txt │ │ └── Cargo.toml │ ├── Integer Types │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Floating-Point Types │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Numeric Operations │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Use Clippy as External Linter │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Boolean Test │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Characters Test │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── Tuples and Arrays │ ├── lesson-remote-info.yaml │ ├── The Tuple Type │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Create an Array │ │ ├── tests │ │ │ └── output.txt │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Tuple Index │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── The Array Type │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Destructure a Tuple │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── lesson-info.yaml ├── Variables │ ├── Value │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Changing Type │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── tests │ │ │ └── tests.rs │ ├── Constant Type │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ ├── src │ │ │ └── main.rs │ │ └── tests │ │ │ └── tests.rs │ ├── Mutable Variable Binding │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── New Variable Binding │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Introduce Variable Refactoring │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Intro │ │ ├── src │ │ │ └── main.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── Constants │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Shadowing │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Variable Type │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Variables and Mutability │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── Conditions │ ├── Add Conditions │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Managing Conditions │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Using if in a let Statement │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── If Task │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── Intro │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── else if │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── lesson-info.yaml ├── Functions │ ├── Function Parameters │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Extract Method Refactoring │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Functions with Return Values │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── Intro │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Defining a Function │ │ ├── src │ │ │ └── main.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Return Type │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Return a Value │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Passing an Argument │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Statements and Expressions │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Type Annotation of a Parameter │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── Variables, Functions, and Conditions Test │ ├── lesson-remote-info.yaml │ ├── lesson-info.yaml │ └── Calculate Price │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml └── section-remote-info.yaml ├── Generic Types, Traits, and Lifetime ├── section-remote-info.yaml ├── Intro │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── Code without Duplications │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Duplicated Code Fragments │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Computing the Largest Number │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Removing Duplication by Refactorings │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── Lifetimes │ ├── lesson-remote-info.yaml │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Summary │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Lifetime Elision │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Pattern Binding │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── tests │ │ │ └── tests.rs │ ├── The Borrow Checker │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Unify Lifetimes │ │ ├── task-remote-info.yaml │ │ ├── tests │ │ │ └── output.txt │ │ └── Cargo.toml │ ├── Specify Lifetimes │ │ ├── task-remote-info.yaml │ │ ├── tests │ │ │ └── output.txt │ │ └── Cargo.toml │ ├── The Static Lifetime │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Lifetime Annotation Syntax │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Lifetime Going Out of Scope │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Generic Lifetimes in Functions │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Thinking in Terms of Lifetimes │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Lifetimes for Structs with References │ │ ├── task-remote-info.yaml │ │ ├── tests │ │ │ └── output.txt │ │ └── Cargo.toml │ ├── Lifetime Annotations in Function Signatures │ │ └── task-remote-info.yaml │ ├── Lifetime Annotations in Method Definitions │ │ └── task-remote-info.yaml │ ├── Lifetime Annotations in Struct Definitions │ │ └── task-remote-info.yaml │ ├── Preventing Dangling References with Lifetimes │ │ └── task-remote-info.yaml │ └── Generic Type Parameters, Trait Bounds, and Lifetimes Together │ │ └── task-remote-info.yaml ├── Traits │ ├── Traits │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── License It │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Vec Trait │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Combine Traits │ │ ├── task-remote-info.yaml │ │ ├── tests │ │ │ └── tests.rs │ │ └── Cargo.toml │ ├── String Trait │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Compare Licenses │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Defining a Trait │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Trait Bound Syntax │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Traits as Parameters │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Default Implementations │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Implementing a Trait on a Type │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Returning Types that Implement Traits │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Calling Methods Without Default Implementations │ │ └── task-remote-info.yaml │ ├── Fixing the largest Function with Trait Bounds │ │ └── task-remote-info.yaml │ └── Using Trait Bounds to Conditionally Implement Methods │ │ └── task-remote-info.yaml ├── Generic Data Types │ ├── lesson-remote-info.yaml │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Generics in Vec │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ ├── src │ │ │ └── main.rs │ │ └── tests │ │ │ └── tests.rs │ ├── Generics in Structs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── In Enum Definitions │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── In Method Definitions │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── In Struct Definitions │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Mixing Generic Types │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── In Function Definitions │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Performance of Code Using Generics │ │ └── task-remote-info.yaml └── section-info.yaml ├── Understanding Ownership ├── The Slice Type │ ├── lesson-remote-info.yaml │ ├── Nice Slice │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Summary │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Other Slices │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── String Slices │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Summer Slice │ │ ├── task-remote-info.yaml │ │ ├── tests │ │ │ └── output.txt │ │ └── Cargo.toml │ ├── Trim a String │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Understanding Types │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── String Literals Are Slices │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── String Slices as Parameters │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Intro │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── What is ownership │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── Clone and Copy │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Explore Scopes │ │ ├── task-remote-info.yaml │ │ ├── tests │ │ │ └── output.txt │ │ └── Cargo.toml │ ├── The String Type │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Variable Scope │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── More Exclamations 2 │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── More Exclamations │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Moving Ownership │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Ownership and Functions │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Return Values and Scope │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Tuples, Clone or Copy │ │ ├── task-remote-info.yaml │ │ ├── tests │ │ │ └── output.txt │ │ └── Cargo.toml │ ├── Who Owns the One Ring │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Build String from Literals │ │ ├── task-remote-info.yaml │ │ ├── tests │ │ │ └── output.txt │ │ └── Cargo.toml │ ├── More Exclamations without Arguments │ │ └── task-remote-info.yaml │ └── More Exclamations with Mutable Argument │ │ └── task-remote-info.yaml ├── References and Borrowing │ ├── lesson-remote-info.yaml │ ├── Intro │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Mutable References │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Reference Order │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── tests │ │ │ └── tests.rs │ ├── Dangling References │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Print Months Once Again │ │ └── task-remote-info.yaml │ ├── Scopes of References │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── The Rules of References │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Exclamations Strike Back │ │ └── task-remote-info.yaml │ ├── Move, Borrow, Mutate, or What │ │ └── task-remote-info.yaml │ ├── Borrowing Values with References │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Restriction of Mutable References │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── The Last Revenge of Exclamations │ │ └── task-remote-info.yaml ├── section-remote-info.yaml └── section-info.yaml ├── Fearless Concurrency ├── Shared-State Concurrency │ ├── lesson-remote-info.yaml │ ├── The API of Mutex │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Using Mutexes │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Atomic Reference Counting with Arc │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Intro │ │ ├── src │ │ │ └── main.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Multiple Ownership with Multiple Threads │ │ └── task-remote-info.yaml │ ├── Sharing a Mutex Between Multiple Threads │ │ └── task-remote-info.yaml │ ├── Similarities Between RefCell-Rc and Mutex-Arc │ │ ├── task-remote-info.yaml │ │ └── src │ │ │ └── main.rs │ ├── Arc │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Threads Task │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── Using Threads to Run Code Simultaneously │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── Join All Handles │ │ └── task-remote-info.yaml │ ├── Creating a New Thread with spawn │ │ └── task-remote-info.yaml │ ├── Using move Closures with Threads │ │ └── task-remote-info.yaml │ └── Waiting for All Threads to Finish Using join Handles │ │ └── task-remote-info.yaml ├── section-remote-info.yaml ├── Using Message Passing to Transfer Data Between Threads │ ├── lesson-remote-info.yaml │ ├── Receiving Values │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Sending Values │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Sum All Numbers │ │ └── task-remote-info.yaml │ ├── Creating a Channel │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── Channels and Ownership Transference │ │ └── task-remote-info.yaml │ ├── Intro │ │ ├── src │ │ │ └── main.rs │ │ └── task-remote-info.yaml │ ├── Creating Multiple Producers by Cloning the Transmitter │ │ └── task-remote-info.yaml │ └── Sending Multiple Values and Seeing the Receiver Waiting │ │ └── task-remote-info.yaml └── section-info.yaml ├── Structs, Methods, Enums, and Pattern Matching ├── section-remote-info.yaml ├── Enums │ ├── lesson-remote-info.yaml │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Deliver Messages │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── tests │ │ │ └── tests.rs │ ├── The Option Enum │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Defining an Enum │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Enum Values with Data │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Deliver Complex Messages │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Enum Values with Different Data │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Enums with Data and Methods │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── Structs │ ├── lesson-remote-info.yaml │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Struct Update │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Tuple Structs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Dealing with Rectangles │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Ownership of Struct Data │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Play with Color Structs │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── tests │ │ │ └── output.txt │ ├── Refactoring with Tuples │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Defining and Initiating Structs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Using the Field Init Shorthand │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Creating Instances From Other Instances │ │ └── task-remote-info.yaml │ ├── Adding Useful Functionality with Derived Traits │ │ └── task-remote-info.yaml │ └── Refactoring with Structs, Adding More Meaning │ │ └── task-remote-info.yaml ├── Pattern Matching │ ├── lesson-remote-info.yaml │ ├── If Let │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Summary │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Implement Match │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── tests │ │ │ └── output.txt │ ├── Matching with Option │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── The Match Operator │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Matches Are Exhaustive │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Patterns that Bind to Values │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── Catch-all Patterns and the _ Placeholder │ │ └── task-remote-info.yaml ├── Structs with Methods │ ├── Intro │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── lesson-remote-info.yaml │ ├── Summary │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Defining Methods │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Sending Packages │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Methods with More Parameters │ │ └── task-remote-info.yaml │ └── Associated Functions and Multiple impl Blocks │ │ └── task-remote-info.yaml └── section-info.yaml ├── Writing Automated Tests ├── How to Write Tests │ ├── lesson-remote-info.yaml │ ├── Testing a Function │ │ └── task-remote-info.yaml │ ├── Using Result in Tests │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── The Anatomy of a Test Function │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Checking Results with the assert Macro │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Checking for Panics with should_panic │ │ └── task-remote-info.yaml │ ├── Intro │ │ ├── src │ │ │ └── main.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Assert │ │ ├── task-remote-info.yaml │ │ └── src │ │ │ └── lib.rs │ ├── Assert_Eq │ │ ├── task-remote-info.yaml │ │ └── src │ │ │ └── lib.rs │ ├── Testing Equality with the assert_eq and assert_ne Macros │ │ └── task-remote-info.yaml │ └── Adding Custom Failure Messages │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml ├── Running and Organizing Tests │ ├── Summary │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Unit Tests │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Running Tests │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Integration Tests │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ ├── Test Organization │ │ ├── task-remote-info.yaml │ │ ├── src │ │ │ └── main.rs │ │ └── Cargo.toml │ ├── Submodules in Integration Tests │ │ ├── task-remote-info.yaml │ │ ├── Cargo.toml │ │ └── tests │ │ │ └── common │ │ │ └── mod.rs │ ├── Times Two Tests │ │ ├── src │ │ │ └── lib.rs │ │ ├── task-remote-info.yaml │ │ └── Cargo.toml │ └── lesson-remote-info.yaml ├── section-remote-info.yaml └── section-info.yaml └── course-remote-info.yaml /change-notes.txt: -------------------------------------------------------------------------------- 1 | Course renamed -------------------------------------------------------------------------------- /Macros/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 459088792 2 | -------------------------------------------------------------------------------- /Macros/Intro/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 509104223 2 | -------------------------------------------------------------------------------- /Modules/section-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Modules 3 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/ground_floor/kitchen.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/second_floor/library.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/second_floor/office.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Common Collections/Vectors/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 89815242 2 | -------------------------------------------------------------------------------- /Introduction/section-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Getting started 3 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1221363942 2 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/first_floor/guest_bedroom.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/ground_floor/big_hall.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Modules/Modules/Quick Reference/src/garden.rs: -------------------------------------------------------------------------------- 1 | pub mod vegetables; -------------------------------------------------------------------------------- /Modules/Modules/Summary/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1750337792 2 | -------------------------------------------------------------------------------- /Standard Library Types/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1858915795 2 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 567253858 2 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2072067615 2 | -------------------------------------------------------------------------------- /Common Collections/Options/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1008144825 2 | -------------------------------------------------------------------------------- /Common Collections/Strings/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1139107079 2 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 554988674 2 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 275727399 2 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/Summary/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 247415491 2 | -------------------------------------------------------------------------------- /Modules/Modules/Defining Modules/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1003947841 2 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/first_floor/master_bedroom.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Modules/Modules/Quick Reference/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2026098198 2 | -------------------------------------------------------------------------------- /.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | rustflags=["-Adead_code", "-Aunused_variables"] -------------------------------------------------------------------------------- /Common Collections/Options/Use Option/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 893902885 2 | -------------------------------------------------------------------------------- /Common Collections/Strings/Summary/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 697487380 2 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Summary/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 155430219 2 | -------------------------------------------------------------------------------- /Introduction/Getting started/Editor/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1888952635 2 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/hello_macro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1063411002 2 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1041955187 2 | -------------------------------------------------------------------------------- /Modules/Modules/The Glob Operator/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1501351139 2 | -------------------------------------------------------------------------------- /Modules/Modules/Time To Check Time/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1585635681 2 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 696225797 2 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1386464393 2 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Fruits Delivery/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 523112973 2 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/More Fruits/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1122471425 2 | -------------------------------------------------------------------------------- /Common Collections/Options/Optional Value/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 318636675 2 | -------------------------------------------------------------------------------- /Common Collections/Strings/Slicing Strings/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 393564051 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Find a sum/tests/output.txt: -------------------------------------------------------------------------------- 1 | Sum is 5050 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1652339224 2 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/Custom Errors/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 500489820 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2123538987 2 | -------------------------------------------------------------------------------- /Introduction/Getting started/Course View/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1956449750 2 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Implement a Macro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 521212377 2 | -------------------------------------------------------------------------------- /Modules/Modules/Using External Packages/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 712621824 2 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 703690403 2 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2033370164 2 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 262040317 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1075475553 2 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Build Scores Table/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1659063000 2 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Updating a Hash Map/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1178252390 2 | -------------------------------------------------------------------------------- /Common Collections/Strings/Process Some Strings/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 386507872 2 | -------------------------------------------------------------------------------- /Common Collections/Strings/String Transformer/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1206777257 2 | -------------------------------------------------------------------------------- /Common Collections/Strings/Updating a String/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1493926514 2 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Count Typed Cells/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1322962627 2 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Creating a New Vector/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 514899863 2 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Loop Over a Vector/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 632936712 2 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Reference vs push/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 641308811 2 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Updating a Vector/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1997020243 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1674870019 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2043683507 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Value/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1584139616 2 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/Advanced Errors 2/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 80910339 2 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/Advanced Errors/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1278934357 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 494773509 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 830300035 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1940319211 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 411222476 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Traits/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 71775849 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1139014416 2 | -------------------------------------------------------------------------------- /Introduction/Getting started/External Linter/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2064596125 2 | -------------------------------------------------------------------------------- /Introduction/Getting started/Navigating Around/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 536180729 2 | -------------------------------------------------------------------------------- /Introduction/Getting started/Task Description/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 456611487 2 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/Attribute-like macros/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1638014521 2 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/Function-like macros/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 588857367 2 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/hello_macro_derive/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1791335948 2 | -------------------------------------------------------------------------------- /Modules/Modules/Making Structs and Enums Public/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1942191630 2 | -------------------------------------------------------------------------------- /Modules/Modules/Re-exporting Names with pub use/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 172074781 2 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/unwrap_or_else/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 296701909 2 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Count Progress/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 171279379 2 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Box Task/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1280981416 2 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Use Cow/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1052050764 2 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Use Rc/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1439756218 2 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/FromStr/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 208184793 2 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1247971863 2 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/Using As/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 561540042 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 117677279 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Nice Slice/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 60722631 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Summary/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1951157774 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2142854428 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1868258931 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1716390043 2 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Creating a New Hash Map/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 346426210 2 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Hash Maps and Ownership/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 602362760 2 | -------------------------------------------------------------------------------- /Common Collections/Options/Check Clippy for Option/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 178354253 2 | -------------------------------------------------------------------------------- /Common Collections/Strings/Creating a New String/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1867339050 2 | -------------------------------------------------------------------------------- /Common Collections/Strings/Indexing into Strings/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1103094598 2 | -------------------------------------------------------------------------------- /Common Collections/Strings/Iterating Over Strings/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 311737426 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Booleans/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 676636196 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 129748376 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/Add Conditions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 801743039 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Find a sum/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 750069960 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Print Months/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 612842480 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Changing Type/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 28112392 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Constant Type/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2130917215 2 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Propagating Errors/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1485410654 2 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Using a panic Backtrace/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 798112871 2 | -------------------------------------------------------------------------------- /Error Handling/section-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Error Handling 3 | - Errors Primer 4 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 303501042 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Summary/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 153461655 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/License It/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 639883759 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Vec Trait/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1672793953 2 | -------------------------------------------------------------------------------- /Modules/Modules/Exposing Paths with the pub Keyword/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 742053261 2 | -------------------------------------------------------------------------------- /Modules/Modules/Separating Modules into Different Files/src/front_of_house.rs: -------------------------------------------------------------------------------- 1 | pub mod hosting; -------------------------------------------------------------------------------- /Modules/Modules/Starting Relative Paths with super/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 353808836 2 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Example sort_by_key/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1435206826 2 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Capitalize first/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1900601419 2 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Iterable Collection/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 62649169 2 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/From Into/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1319742354 2 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/Try From Into/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 817935296 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 457176416 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1101470788 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Other Slices/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1278020830 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/String Slices/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2086883187 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Summer Slice/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1520701026 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Trim a String/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 718521888 2 | -------------------------------------------------------------------------------- /Common Collections/Options/Check More Clippy Suggestions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 352316978 2 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Create a Vector on Your Own/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 910674267 2 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Reading Elements of Vectors/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1030673590 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Characters/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1328927593 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Numeric Test/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 59771808 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Numeric Test/tests/output.txt: -------------------------------------------------------------------------------- 1 | 451°F is 232.8°C 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Function Parameters/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1612359634 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1930581512 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Combine Traits/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 884239708 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/String Trait/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 337862672 2 | -------------------------------------------------------------------------------- /Macros/Intro/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Macros/Intro/The Difference Between Macros and Functions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1211407258 2 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | home_alone::day_x(); 3 | } 4 | -------------------------------------------------------------------------------- /Modules/Modules/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Modules/Modules/Providing New Names with the as Keyword/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1890423352 2 | -------------------------------------------------------------------------------- /Modules/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 103438 2 | update_date: "Thu, 31 Oct 2019 15:20:26 UTC" 3 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Switch the Lamp/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1839621434 2 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/AsRef and AsMut/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1856808445 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 14132382 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 816380957 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2059088948 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Clone and Copy/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 466911224 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Explore Scopes/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1954047515 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/The String Type/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1930688254 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Variable Scope/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1896801178 2 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Accessing Values in a Hash Map/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2039994672 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Integer Types/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1560212004 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/Managing Conditions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1238203014 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Looping through Ranges/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1547325545 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/The Tuple Type/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1287727310 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Mutable Variable Binding/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1082489777 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/New Variable Binding/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1255575778 2 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Matching on Different Errors/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1474234055 2 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Propagating Errors Limitations/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1233134621 2 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Unrecoverable Errors with panic/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1008215558 2 | -------------------------------------------------------------------------------- /Error Handling/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 103440 2 | update_date: "Thu, 31 Oct 2019 15:21:04 UTC" 3 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/The API of Mutex/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1366760111 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Using Mutexes/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 921255735 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 219173847 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetime Elision/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 297625680 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Pattern Binding/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1248325419 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/The Borrow Checker/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 80983513 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Unify Lifetimes/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1543446132 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Compare Licenses/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1675857666 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Defining a Trait/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2006086218 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Trait Bound Syntax/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 520953256 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 56206075 2 | -------------------------------------------------------------------------------- /Introduction/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 103435 2 | update_date: "Thu, 31 Oct 2019 15:19:10 UTC" 3 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Declarative Macros with macro_rules/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2135250668 2 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/How to Write a Custom derive Macro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1675895729 2 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/hello_macro/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub trait HelloMacro { 2 | fn hello_macro(); 3 | } -------------------------------------------------------------------------------- /Modules/Modules/Quick Reference/src/garden/vegetables.rs: -------------------------------------------------------------------------------- 1 | #[derive(Debug)] 2 | pub struct Asparagus {} -------------------------------------------------------------------------------- /Modules/Modules/Summary/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Modules/Modules/Using Nested Paths to Clean Up Large use Lists/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1109559119 2 | -------------------------------------------------------------------------------- /Modules/Modules/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 271626 2 | update_date: "Thu, 31 Oct 2019 15:20:27 UTC" 3 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Switch the Lamp/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod lamp; 2 | pub mod switcher; -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Workers in the Engine/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1868862068 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1540602084 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Summer Slice/tests/output.txt: -------------------------------------------------------------------------------- 1 | ["June", "July", "August"] 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Understanding Types/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2088741185 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Explore Scopes/tests/output.txt: -------------------------------------------------------------------------------- 1 | de 2 | g 3 | bcfh 4 | ai 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/More Exclamations 2/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 383808174 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/More Exclamations/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 363683846 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Moving Ownership/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1088634202 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Testing a Function/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1679218659 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Summary/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1063472546 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Unit Tests/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 13781750 2 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Dropping a Vector Drops Its Elements/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1062999995 2 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Iterating over the Values in a Vector/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 291828379 2 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Using an Enum to Store Multiple Types/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1170207296 2 | -------------------------------------------------------------------------------- /Common Collections/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 103439 2 | update_date: "Thu, 31 Oct 2019 15:20:51 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Floating-Point Types/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1492647473 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Numeric Operations/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1520360038 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/Using if in a let Statement/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 213737535 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Extract Method Refactoring/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1443937835 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Functions with Return Values/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1844598899 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Conditional Loops with while/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 102681658 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/Create an Array/tests/output.txt: -------------------------------------------------------------------------------- 1 | Wow, that's a big array! 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Introduce Variable Refactoring/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 64149064 2 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/A Shortcut for Propagating Errors/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1715928876 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Threads to Run Code Simultaneously/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1532293599 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Threads to Run Code Simultaneously/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1993093923 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/Code without Duplications/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1251966206 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/Duplicated Code Fragments/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 817483318 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Specify Lifetimes/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1226511802 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/The Static Lifetime/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 51522697 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Default Implementations/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 117319845 2 | -------------------------------------------------------------------------------- /Macros/Intro/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904977 2 | update_date: "Tue, 28 Jan 2020 16:08:26 UTC" 3 | -------------------------------------------------------------------------------- /Macros/Intro/lesson-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Intro 3 | - The Difference Between Macros and Functions 4 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/Summary/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Macros/section-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Intro 3 | - Declarative Macros 4 | - Procedural Macros 5 | -------------------------------------------------------------------------------- /Modules/Modules/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904970 2 | update_date: "Tue, 28 Jan 2020 16:09:50 UTC" 3 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Filter a sequence with a closure/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1861856979 2 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Loop Over Vector With Iterators/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1412601441 2 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Methods that Consume the Iterator/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 809403826 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Deliver Messages/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 839308691 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/The Option Enum/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1601634575 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 473216042 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Struct Update/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1561432353 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Tuple Structs/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 467192666 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Mutable References/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1250347958 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Reference Order/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1985306464 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/String Literals Are Slices/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1635707965 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/String Slices as Parameters/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1399825717 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Ownership and Functions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1017917019 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Return Values and Scope/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 767484406 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Tuples, Clone or Copy/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1711068755 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Who Owns the One Ring/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1998373859 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Using Result in Tests/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1302427131 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Running Tests/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 73167570 2 | -------------------------------------------------------------------------------- /course-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 16631 2 | course_version: 21 3 | generated_edu_id: Rustlings_JetBrains_Rust 4 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Common Collections/Strings/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Common Collections/Strings/Summary/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables, Functions, and Conditions Test/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2062649995 2 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Summary/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Fearless Concurrency/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 103443 2 | update_date: "Thu, 31 Oct 2019 15:21:44 UTC" 3 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Generics in Vec/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1229838964 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/Computing the Largest Number/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 737300040 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetime Annotation Syntax/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1342026890 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetime Going Out of Scope/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 270124130 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Specify Lifetimes/tests/output.txt: -------------------------------------------------------------------------------- 1 | The longest string is abcd 2 | -------------------------------------------------------------------------------- /Introduction/Getting started/About/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Introduction/Getting started/Editor/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Introduction/Getting started/Hello World/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 271627 2 | update_date: "Thu, 31 Oct 2019 15:20:37 UTC" 3 | -------------------------------------------------------------------------------- /Macros/Intro/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "macros_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Separating Modules into Different Files/src/front_of_house/hosting.rs: -------------------------------------------------------------------------------- 1 | pub fn add_to_waitlist() {} -------------------------------------------------------------------------------- /Standard Library Types/Closures/Capturing References or Moving Ownership/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 943747377 2 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Capturing the Environment with Closures/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1005120038 2 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Closure Type Inference and Annotation/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 493564259 2 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Methods that Produce Other Iterators/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 319957584 2 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/The Iterator Trait and the next Method/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 958003439 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Defining an Enum/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1360966972 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Enum Values with Data/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 274275577 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/If Let/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 264790944 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Summary/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 71460633 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1994784250 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1896705691 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Dangling References/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1546402481 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Print Months Once Again/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 602393854 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Scopes of References/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1696297721 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/The Rules of References/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 500559553 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Build String from Literals/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1182204989 2 | -------------------------------------------------------------------------------- /Understanding Ownership/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 103437 2 | update_date: "Thu, 31 Oct 2019 15:20:13 UTC" 3 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/The Anatomy of a Test Function/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 992829462 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Integration Tests/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2041311681 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Test Organization/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1104571135 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 103441 2 | update_date: "Thu, 31 Oct 2019 15:21:22 UTC" 3 | -------------------------------------------------------------------------------- /Common Collections/Strings/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904983 2 | update_date: "Tue, 28 Jan 2020 16:08:34 UTC" 3 | -------------------------------------------------------------------------------- /Common Collections/section-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Vectors 3 | - Strings 4 | - Hashmaps 5 | - Options 6 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Use Clippy as External Linter/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1207641964 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Looping Through an Array with for/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1640360030 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/section-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 103436 2 | update_date: "Thu, 31 Oct 2019 15:19:17 UTC" 3 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Shortcuts for Panic on Error - unwrap and expect/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 626830309 2 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 271631 2 | update_date: "Thu, 31 Oct 2019 15:21:05 UTC" 3 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 182522575 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Generics in Structs/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 574915575 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/In Enum Definitions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1187875855 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/In Method Definitions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 40951438 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/In Struct Definitions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2005165709 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Mixing Generic Types/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 225553404 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/Removing Duplication by Refactorings/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 540756642 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Generic Lifetimes in Functions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 328918674 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Thinking in Terms of Lifetimes/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1425215109 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Implementing a Trait on a Type/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2000427279 2 | -------------------------------------------------------------------------------- /Introduction/Getting started/Course View/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Introduction/Getting started/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 271619 2 | update_date: "Thu, 31 Oct 2019 15:19:11 UTC" 3 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/Procedural Macros for Generating Code from Attributes/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 257982860 2 | -------------------------------------------------------------------------------- /Modules/Modules/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "modules_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Making a sausage/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904974 2 | update_date: "Tue, 28 Jan 2020 16:08:23 UTC" 3 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Workers in the Engine/src/lib.rs: -------------------------------------------------------------------------------- 1 | mod worker; 2 | pub mod engine; 3 | 4 | 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Deliver Complex Messages/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 378872250 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Summary/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 677268551 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Dealing with Rectangles/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1032215800 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Ownership of Struct Data/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 972892025 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Play with Color Structs/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1363000490 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Refactoring with Tuples/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 265159969 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Exclamations Strike Back/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2132519648 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Move, Borrow, Mutate, or What/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 995237923 2 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/More Exclamations without Arguments/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 285778180 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/section-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - How to Write Tests 3 | - Running and Organizing Tests 4 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "hashmaps" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables, Functions, and Conditions Test/lesson-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Calculate Price 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904987 2 | update_date: "Tue, 28 Jan 2020 16:08:39 UTC" 3 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Atomic Reference Counting with Arc/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 196849707 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Threads to Run Code Simultaneously/Join All Handles/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1566817461 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/In Function Definitions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2020766232 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Returning Types that Implement Traits/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 347744254 2 | -------------------------------------------------------------------------------- /Introduction/Getting started/About/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "about" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Introduction/Getting started/About/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1022919 2 | update_date: "Tue, 28 Jan 2020 16:07:24 UTC" 3 | -------------------------------------------------------------------------------- /Introduction/Getting started/Editor/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "editor" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Introduction/Getting started/External Linter/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Introduction/Getting started/Navigating Around/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Introduction/Getting started/Task Description/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Macro Arms/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904981 2 | update_date: "Tue, 28 Jan 2020 16:08:31 UTC" 3 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/Attribute-like macros/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/Function-like macros/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Modules/Modules/Eating Some Snacks/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904975 2 | update_date: "Tue, 28 Jan 2020 16:08:24 UTC" 3 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/ground_floor.rs: -------------------------------------------------------------------------------- 1 | pub mod big_hall; 2 | pub mod storage_room; 3 | pub mod kitchen; -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/second_floor.rs: -------------------------------------------------------------------------------- 1 | pub mod library; 2 | pub mod office; 3 | pub mod astronomy_tower; -------------------------------------------------------------------------------- /Modules/Modules/Quick Reference/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "backyard" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Summary/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "summary_modules" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Filter a sequence with a closure/tests/output.txt: -------------------------------------------------------------------------------- 1 | [1, 2, 3] 2 | 4 elements left behind 3 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Using Closures that Capture Their Environment/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1608065847 2 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 271634 2 | update_date: "Thu, 31 Oct 2019 15:21:35 UTC" 3 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Enum Values with Different Data/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 535993677 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Enums with Data and Methods/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1158989440 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Implement Match/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1462131015 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Matching with Option/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 201498006 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/The Match Operator/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2029461687 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Borrowing Values with References/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 726609420 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Restriction of Mutable References/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 431804675 2 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/The Last Revenge of Exclamations/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1765755974 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Summary/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/More Exclamations with Mutable Argument/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1273186527 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Checking Results with the assert Macro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 927170804 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Checking for Panics with should_panic/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 500996998 2 | -------------------------------------------------------------------------------- /Common Collections/Strings/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "strings_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/Return a String/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904984 2 | update_date: "Tue, 28 Jan 2020 16:08:35 UTC" 3 | -------------------------------------------------------------------------------- /Common Collections/Strings/String Slice/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904985 2 | update_date: "Tue, 28 Jan 2020 16:08:37 UTC" 3 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "intro_vectors" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 271624 2 | update_date: "Thu, 31 Oct 2019 15:20:05 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 271622 2 | update_date: "Thu, 31 Oct 2019 15:19:48 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables, Functions, and Conditions Test/Calculate Price/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 858192685 2 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Value/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let x = 10; 3 | println!("Number {}", x); 4 | } -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 271620 2 | update_date: "Thu, 31 Oct 2019 15:19:17 UTC" 3 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Unrecoverable Errors with panic/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | panic!("crash and burn"); 3 | } -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Multiple Ownership with Multiple Threads/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1960065281 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Sharing a Mutex Between Multiple Threads/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1990277744 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetimes for Structs with References/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2085492098 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Unify Lifetimes/tests/output.txt: -------------------------------------------------------------------------------- 1 | The longest string is long string is long 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Traits/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Introduction/Getting started/Hello World/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904933 2 | update_date: "Tue, 28 Jan 2020 16:07:27 UTC" 3 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Calling a Macro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904978 2 | update_date: "Tue, 28 Jan 2020 16:08:27 UTC" 3 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Macro Arms/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "macro_arms" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/Summary/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "summary_macros" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Defining Modules/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "restaurant" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "home_alone" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/tests/output.txt: -------------------------------------------------------------------------------- 1 | I love my toys! 2 | I've found a telescope! 3 | Hey, I see the stars!!! 4 | -------------------------------------------------------------------------------- /Modules/Modules/Time To Check Time/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "modules3" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Factorial/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub fn factorial(num: u64) -> u64 { 2 | (1..=num).product() 3 | } 4 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Factorial/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 905010 2 | update_date: "Tue, 28 Jan 2020 16:09:03 UTC" 3 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Iterator/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 905009 2 | update_date: "Tue, 28 Jan 2020 16:09:02 UTC" 3 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Matches Are Exhaustive/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1874946640 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Defining Methods/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1263873041 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Sending Packages/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1384085479 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Defining and Initiating Structs/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1693829952 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Using the Field Init Shorthand/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 509091490 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Submodules in Integration Tests/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1793779890 2 | -------------------------------------------------------------------------------- /Common Collections/Options/Use Option/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "use_option" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/String Slice/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "string_slice" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/Strings and strs/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904986 2 | update_date: "Tue, 28 Jan 2020 16:08:38 UTC" 3 | -------------------------------------------------------------------------------- /Common Collections/Strings/Summary/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "summary_strings" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/If Task/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904962 2 | update_date: "Tue, 28 Jan 2020 16:08:09 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904959 2 | update_date: "Tue, 28 Jan 2020 16:08:06 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/else if/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904960 2 | update_date: "Tue, 28 Jan 2020 16:08:07 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904950 2 | update_date: "Tue, 28 Jan 2020 16:07:55 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Constants/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904937 2 | update_date: "Tue, 28 Jan 2020 16:07:32 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904934 2 | update_date: "Tue, 28 Jan 2020 16:07:28 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Shadowing/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904938 2 | update_date: "Tue, 28 Jan 2020 16:07:33 UTC" 3 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Matching Result 2/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904992 2 | update_date: "Tue, 28 Jan 2020 16:08:45 UTC" 3 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Matching Result/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904991 2 | update_date: "Tue, 28 Jan 2020 16:08:44 UTC" 3 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Returning Result/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904990 2 | update_date: "Tue, 28 Jan 2020 16:08:43 UTC" 3 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Summary/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "summary_errors" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/Custom Errors/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "errors6" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/Multiple Errors/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "errors5" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/Multiple Errors/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904993 2 | update_date: "Tue, 28 Jan 2020 16:08:45 UTC" 3 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Similarities Between RefCell-Rc and Mutex-Arc/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1659920785 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Receiving Values/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 974020808 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Sending Values/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2059988272 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Sum All Numbers/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1194068906 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Threads to Run Code Simultaneously/Creating a New Thread with spawn/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 84267066 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Performance of Code Using Generics/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1494553809 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetime Annotations in Function Signatures/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 167626233 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetime Annotations in Method Definitions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1339655377 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetime Annotations in Struct Definitions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1988667765 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetimes for Structs with References/tests/output.txt: -------------------------------------------------------------------------------- 1 | Fish Flying by Jill Smith 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Preventing Dangling References with Lifetimes/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 2067250722 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Summary/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Calling Methods Without Default Implementations/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1740475492 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Combine Traits/tests/tests.rs: -------------------------------------------------------------------------------- 1 | #[test] 2 | fn test() { 3 | assert!(true); 4 | } 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Fixing the largest Function with Trait Bounds/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1668714188 2 | -------------------------------------------------------------------------------- /Introduction/Getting started/Course View/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "course_view" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Declaring a Macro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "macros2" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Declaring a Macro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904979 2 | update_date: "Tue, 28 Jan 2020 16:08:28 UTC" 3 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Outside of Module/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "macros3" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Outside of Module/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904980 2 | update_date: "Tue, 28 Jan 2020 16:08:29 UTC" 3 | -------------------------------------------------------------------------------- /Macros/Intro/The Difference Between Macros and Functions/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/hello_macro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "hello_macro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/first_floor.rs: -------------------------------------------------------------------------------- 1 | pub mod master_bedroom; 2 | pub mod toys_room; 3 | pub mod guest_bedroom; 4 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/first_floor/toys_room.rs: -------------------------------------------------------------------------------- 1 | pub fn i_love_toys() { 2 | println!("I love my toys!"); 3 | } -------------------------------------------------------------------------------- /Modules/Modules/The Glob Operator/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_glob_operator" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "intro_closures" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Moving Captured Values Out of the Closure and the Fn Traits/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1835671940 2 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Iterator/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "iterator3" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "intro_sp" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Use Rc/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "use_rc" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Patterns that Bind to Values/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 118579404 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Creating Instances From Other Instances/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 150081369 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904965 2 | update_date: "Tue, 28 Jan 2020 16:08:14 UTC" 3 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Build String from Literals/tests/output.txt: -------------------------------------------------------------------------------- 1 | Rust is the greatest programming language 2 | -------------------------------------------------------------------------------- /Common Collections/Options/Optional Value/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "optional_value" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/If Task/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "if_task" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "if_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/else if/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "else_if" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Defining a Function/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | call_me(); 3 | } 4 | 5 | fn call_me() { 6 | } -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Return Type/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904955 2 | update_date: "Tue, 28 Jan 2020 16:08:02 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Return a Value/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904956 2 | update_date: "Tue, 28 Jan 2020 16:08:03 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Constants/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "constants" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Shadowing/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "shadowing" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Value/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "variables4" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Variable Type/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904939 2 | update_date: "Tue, 28 Jan 2020 16:07:34 UTC" 3 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "error_handling_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Using a panic Backtrace/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let v = vec![1, 2, 3]; 3 | 4 | v[99]; 5 | } 6 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Arc/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 905007 2 | update_date: "Tue, 28 Jan 2020 16:09:01 UTC" 3 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 905006 2 | update_date: "Tue, 28 Jan 2020 16:09:00 UTC" 3 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Using Mutexes/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Creating a Channel/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1885200339 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Threads to Run Code Simultaneously/Using move Closures with Threads/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 566586203 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Traits/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "traits" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Using Trait Bounds to Conditionally Implement Methods/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1747181674 2 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Calling a Macro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "calling_a_macro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Starting Relative Paths with super/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "task5" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Factorial/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "iterators4" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Box Task/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "box_task" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Use Cow/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "use_cow" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/FromStr/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "fromstr" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/Using As/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "using_as" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/section-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Closures 3 | - Iterators 4 | - Smart Pointers 5 | - Type Conversions 6 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Methods with More Parameters/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 167581962 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Understanding Ownership/section-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - What is ownership 3 | - References and Borrowing 4 | - The Slice Type 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Assert/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 905001 2 | update_date: "Tue, 28 Jan 2020 16:08:52 UTC" 3 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Assert_Eq/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 905002 2 | update_date: "Tue, 28 Jan 2020 16:08:53 UTC" 3 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904999 2 | update_date: "Tue, 28 Jan 2020 16:08:49 UTC" 3 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Summary/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Times Two Tests/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub fn times_two(num: i32) -> i32 { 2 | num * 2 3 | } -------------------------------------------------------------------------------- /Common Collections/Hashmaps/More Fruits/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "modifying_a_hashmap" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/Return a String/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "returning_a_string" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/Slicing Strings/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "slicing_strings" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/Updating a String/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "updating_a_string" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Count Typed Cells/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "count_typed_cells" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Reference vs push/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "reference_vs_push" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Updating a Vector/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "updating_a_vector" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Boolean Test/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904943 2 | update_date: "Tue, 28 Jan 2020 16:07:43 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Booleans/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "booleans" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Defining a Function/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904952 2 | update_date: "Tue, 28 Jan 2020 16:07:58 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "functions_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Passing an Argument/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904954 2 | update_date: "Tue, 28 Jan 2020 16:08:01 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Return Type/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "return_type" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Find a sum/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "find_a_sum" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/Tuple Index/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904949 2 | update_date: "Tue, 28 Jan 2020 16:07:54 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Changing Type/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "variables5" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Constant Type/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "variables6" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "variables_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Variable Type/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "variables2" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Matching Result/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "matching_result" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/Advanced Errors/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "advanced_errors" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/Positive Nonzero Integer/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "result1" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/Positive Nonzero Integer/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904998 2 | update_date: "Tue, 28 Jan 2020 16:08:48 UTC" 3 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Threads to Run Code Simultaneously/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Vec Trait/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "vec_trait" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/section-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Intro 3 | - Generic Data Types 4 | - Traits 5 | - Lifetimes 6 | -------------------------------------------------------------------------------- /Introduction/Getting started/External Linter/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "external_linter" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Introduction/Getting started/Task Description/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "task_description" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Implement a Macro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "implement_a_macro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Separating Modules into Different Files/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904973 2 | update_date: "Tue, 28 Jan 2020 16:08:22 UTC" 3 | -------------------------------------------------------------------------------- /Modules/Modules/The Glob Operator/src/main.rs: -------------------------------------------------------------------------------- 1 | use std::collections::*; 2 | 3 | fn main() { 4 | // put you code here to launch it 5 | } 6 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Example sort_by_key/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "rectangles" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/unwrap_or_else/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "unwrap_or_else" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Count Progress/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "count_progress" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/From Into/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "from_into" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Catch-all Patterns and the _ Placeholder/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 140075486 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Adding Useful Functionality with Derived Traits/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1241628924 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Refactoring with Structs, Adding More Meaning/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 400448326 2 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_slice_type" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Summary/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "summary_slices" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "intro_tests" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Testing Equality with the assert_eq and assert_ne Macros/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 333362320 2 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Test Organization/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/lesson-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 271632 2 | update_date: "Thu, 31 Oct 2019 15:21:22 UTC" 3 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Fruits Delivery/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "declaring_a_hashmap" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Updating a Hash Map/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "updating_a_hash_map" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/String Transformer/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "string_transformer" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Loop Over a Vector/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "loop_over_a_vector" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Boolean Test/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "boolean" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Characters Test/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904944 2 | update_date: "Tue, 28 Jan 2020 16:07:45 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Characters/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "characters" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/If Task/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub fn bigger(a: i32, b: i32) -> i32 { 2 | if a > b {a} 3 | else {b} 4 | } 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Return a Value/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "return_a_value" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Print Months/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "print_months" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Repetition with Loops/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904961 2 | update_date: "Tue, 28 Jan 2020 16:08:08 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/Create an Array/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904946 2 | update_date: "Tue, 28 Jan 2020 16:07:50 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/The Array Type/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904945 2 | update_date: "Tue, 28 Jan 2020 16:07:47 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Variables and Mutability/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904935 2 | update_date: "Tue, 28 Jan 2020 16:07:29 UTC" 3 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Matching Result 2/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "matching_result_2" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Propagating Errors/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "propagating_errors" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Recoverable Errors with Result/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904988 2 | update_date: "Tue, 28 Jan 2020 16:08:40 UTC" 3 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Returning Result/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "returning_result" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/Advanced Errors 2/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "advanced_errors_2" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Threads Task/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 905014 2 | update_date: "Tue, 28 Jan 2020 16:09:09 UTC" 3 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "generic_types_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Generic Type Parameters, Trait Bounds, and Lifetimes Together/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 811789983 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "lifetime_syntax" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/License It/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "license_it" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Introduction/Getting started/Navigating Around/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "navigating_around" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/Function-like macros/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "function_like_macros" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Bringing Paths into Scope with the use Keyword/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904972 2 | update_date: "Tue, 28 Jan 2020 16:08:21 UTC" 3 | -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/ground_floor/storage_room.rs: -------------------------------------------------------------------------------- 1 | pub fn i_found_telescope() { 2 | println!("I've found a telescope!") 3 | } -------------------------------------------------------------------------------- /Modules/Modules/Home Alone at Day X/src/second_floor/astronomy_tower.rs: -------------------------------------------------------------------------------- 1 | pub fn i_see_the_stars() { 2 | println!("Hey, I see the stars!!!") 3 | } -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Capitalize first/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "capitalize_first" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/Try From Into/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "try_from_into" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Summary/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/The Rules of References/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Other Slices/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "other_slices" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/String Slices/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "string_slices" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Summer Slice/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "summer_slice" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Trim a String/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "trim_a_string" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "intro_ownership" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Tuples, Clone or Copy/tests/output.txt: -------------------------------------------------------------------------------- 1 | (21, "Adam") 2 | (21, "Adam") 3 | (18, "Eva") 4 | (18, "Eva") 5 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Build Scores Table/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "build_team_scores_table" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/Creating a New String/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "creating_a_new_string" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/Indexing into Strings/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "indexing_into_strings" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/Iterating Over Strings/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "iterating_over_strings" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/Process Some Strings/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "process_some_strings" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Creating a New Vector/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "creating_a_new_vector" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Using an Enum to Store Multiple Types/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "vectors" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Integer Types/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "integer_types" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "basic_datatypes_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Numeric Test/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "numeric_test" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/Add Conditions/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "add_conditions" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Statements and Expressions/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904951 2 | update_date: "Tue, 28 Jan 2020 16:07:57 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Looping through Ranges/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "ranges" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/Create an Array/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "arrays" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/Destructure a Tuple/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904948 2 | update_date: "Tue, 28 Jan 2020 16:07:53 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Constant Type/src/main.rs: -------------------------------------------------------------------------------- 1 | const NUMBER: i32 = 3; 2 | fn main() { 3 | println!("Number {}", NUMBER); 4 | } 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/New Variable Binding/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "variables1" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/New Variable Binding/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let x = 5; 3 | println!("x has the value {}", x); 4 | } -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Channels and Ownership Transference/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 759957889 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Pattern Binding/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "option3" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Summary/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "summary_generics" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Combine Traits/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "combine_traits" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/String Trait/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "string_trait" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/Attribute-like macros/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "attribute_like_macros" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Paths for Referring to an Item in the Module Tree/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904971 2 | update_date: "Tue, 28 Jan 2020 16:08:20 UTC" 3 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Iterable Collection/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "iterable_collection" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/AsRef and AsMut/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "asref_and_asmut" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "enums_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Associated Functions and Multiple impl Blocks/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1813800728 2 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Summary/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Reference Order/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "task9" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Clone and Copy/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "clone_and_copy" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Explore Scopes/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "explore_scopes" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Variable Scope/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "variable_scope" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Creating a New Hash Map/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "creating_a_new_hash_map" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Hash Maps and Ownership/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "hash_maps_and_ownership" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Options/Check Clippy for Option/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "check_clippy_for_option" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Create a Vector on Your Own/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "declaring_a_vector" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Characters Test/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "characters_test" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Characters/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let c = 'z'; 3 | let z = 'ℤ'; 4 | let heart = '❤'; 5 | } 6 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/Managing Conditions/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "ManagingConditions" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Defining a Function/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "defining_a_function" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Function Parameters/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "function_parameters" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Passing an Argument/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "passing_an_argument" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Type Annotation of a Parameter/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 904953 2 | update_date: "Tue, 28 Jan 2020 16:07:59 UTC" 3 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/The Array Type/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "compound_types" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/The Tuple Type/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_tuple_type" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Mutable Variable Binding/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "variables3" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "shared_state_concurrency" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Using Mutexes/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "using_mutexes" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put your code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Threads to Run Code Simultaneously/Waiting for All Threads to Finish Using join Handles/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 1320752604 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "intro_generics" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/The Static Lifetime/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let s: &'static str = "I have a static lifetime."; 3 | } 4 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Unify Lifetimes/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "unify_lifetimes" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Compare Licenses/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "compare_licenses" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Defining a Trait/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "defining_a_trait" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Implement a Macro/task.md: -------------------------------------------------------------------------------- 1 | ## Implement a Macro 2 | 3 | Write a macro that passes the test! No hints this time, you can do it! 4 | -------------------------------------------------------------------------------- /Macros/Procedural Macros/Procedural Macros for Generating Code from Attributes/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Switch the Lamp/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "lamp_with_switchers" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/If Let/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "if_let" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "structs_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Moving Ownership/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "moving_ownership" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/The String Type/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_string_type" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Tuples, Clone or Copy/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "clone_or_copy" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Summary/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "summary_tests" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Times Two Tests/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 905004 2 | update_date: "Tue, 28 Jan 2020 16:08:56 UTC" 3 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Unit Tests/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "unit_tests" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Creating a New Vector/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let _v1: Vec = Vec::new(); 3 | 4 | let _v2 = vec![1, 2, 3]; 5 | } 6 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Reading Elements of Vectors/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "reading_elements_of_vectors" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Numeric Operations/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "numeric_operations" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Extract Method Refactoring/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "functions_new_ide" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Using a panic Backtrace/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "using_a_panic_backtrace_" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/The API of Mutex/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_api_of_mutex" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetime Elision/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "lifetime_elision" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Specify Lifetimes/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "specify_lifetimes" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Trait Bound Syntax/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "trait_bound_syntax" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Making Structs and Enums Public/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "making_structs_and_enums_public" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Re-exporting Names with pub use/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "re_exporting_names_with_pub_use" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Processing a Series of Items with Iterators/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 905005 2 | update_date: "Tue, 28 Jan 2020 16:08:57 UTC" 3 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/Workers in the Engine/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "workers_in_the_engine" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Struct Update/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "struct_update" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Tuple Structs/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "tuple_structs" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/section-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Structs 3 | - Structs with Methods 4 | - Enums 5 | - Pattern Matching 6 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/String Literals Are Slices/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let s = "Hello, world!"; 3 | 4 | println!("{}", s) 5 | } 6 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Adding Custom Failure Messages/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 905000 2 | update_date: "Tue, 28 Jan 2020 16:08:50 UTC" 3 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Running Tests/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "running_tests" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Options/Check More Clippy Suggestions/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "check_more_clippy_suggestions" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Options/lesson-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Use Option 3 | - Check Clippy for Option 4 | - Optional Value 5 | - Check More Clippy Suggestions 6 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Floating-Point Types/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "floating_point_types" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Repetition with Loops/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "repetition_with_loops" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Introduce Variable Refactoring/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "variables_new_ide" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Variables and Mutability/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "variables_and_mutability" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Matching on Different Errors/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "matching_on_different_errors" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Propagating Errors Limitations/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "propagating_errors_in_main" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Similarities Between RefCell-Rc and Mutex-Arc/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Intro/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 905012 2 | update_date: "Tue, 28 Jan 2020 16:09:06 UTC" 3 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Threads to Run Code Simultaneously/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "intro_using_threads" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Generics in Vec/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "generics_in_vec" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/The Borrow Checker/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_borrow_checker" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/The Static Lifetime/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_static_lifetime" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "traits_as_parameters" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Exposing Paths with the pub Keyword/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "exposing_paths_with_the_pub_keyword" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Time To Check Time/tests/tests.rs: -------------------------------------------------------------------------------- 1 | #[test] 2 | fn if_compiles() { 3 | //Mocking test to run only the compiler's checker 4 | assert!(true); 5 | } -------------------------------------------------------------------------------- /Standard Library Types/Closures/Closure Type Inference and Annotation/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "closure-example" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Moving Captured Values Out of the Closure and the Fn Traits/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | // put you code here to launch it 3 | } 4 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Defining an Enum/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "defining_an_enum" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Deliver Messages/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "define_an_enum" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/The Option Enum/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_option_enum" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Summary/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "summary_match" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "intro_methods" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Intro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "intro_references_and_borrowing" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Mutable References/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "mutable_references" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Using Result in Tests/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "using_result_in_tests" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Times Two Tests/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "times_two_tests" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Hashmaps/Accessing Values in a Hash Map/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "accessing_values_in_a_hash_map" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Statements and Expressions/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "statements_and_expressions" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Recoverable Errors with Result/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "recoverable_errors_with_result" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Creating Multiple Producers by Cloning the Transmitter/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 250421919 2 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Sending Multiple Values and Seeing the Receiver Waiting/task-remote-info.yaml: -------------------------------------------------------------------------------- 1 | id: 871495868 2 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Default Implementations/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "default_implementations" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Introduction/Getting started/Editor/edu_editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetbrains-academy/rustlings-course/HEAD/Introduction/Getting started/Editor/edu_editor.png -------------------------------------------------------------------------------- /Introduction/Getting started/Hello World/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "hello_world" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" -------------------------------------------------------------------------------- /Modules/Modules/Eating Some Snacks/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "public_modifier_2" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" -------------------------------------------------------------------------------- /Modules/Modules/Making a sausage/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "public_modifier" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Processing a Series of Items with Iterators/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "stdlib_intro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Summary/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "summary_structs" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Play with Color Structs/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "color_structs" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Dangling References/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dangling_references" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Scopes of References/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "scopes_of_references" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/String Literals Are Slices/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "string_literals_are_slices" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Ownership and Functions/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "ownership_and_functions" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Return Values and Scope/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "return_values_and_scope" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Who Owns the One Ring/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "who_owns_the_ring_of_power" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Integration Tests/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "integration_tests" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Test Organization/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "test_organization" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Options/Optional Value/tests/tests.rs: -------------------------------------------------------------------------------- 1 | #[test] 2 | fn if_compiles() { 3 | //Mocking test to run only the compiler's checker 4 | assert!(true); 5 | } 6 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Booleans/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let t = true; 3 | 4 | let f: bool = false; // with explicit type annotation 5 | } 6 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Intro/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let guess: u32 = "42".parse().expect("Not a number!"); 3 | println!("{}", guess); 4 | } 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/Using if in a let Statement/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "using_if_in_a_let_statement_" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Functions with Return Values/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "functions_with_return_values_" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Conditional Loops with while/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "conditional_loops_with_while" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/Tuple Index/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let numbers = (1, 2, 3); 3 | println!("The second number is {}", numbers.1); 4 | } -------------------------------------------------------------------------------- /Error Handling/Error Handling/A Shortcut for Propagating Errors/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "a_shortcut_for_propagating_errors" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Error Handling/Error Handling/Unrecoverable Errors with panic/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "unrecoverable_errors_with_panic" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Arc/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "arc1" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Generics in Structs/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "generics_in_structs" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/In Enum Definitions/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "in_enum_definitions" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/In Function Definitions/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "generic_data_types" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Mixing Generic Types/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "mixing_generic_types" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/Code without Duplications/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "code_without_duplications" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/Duplicated Code Fragments/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "duplicated_code_fragments" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/Removing Duplication by Refactorings/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "extract_function" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Macros/Declarative Macros/Declarative Macros with macro_rules/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "declarative_macros_with_macro_rules" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Providing New Names with the as Keyword/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "providing_new_names_with_the_as_keyword" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Separating Modules into Different Files/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "separating_modules_into_different_files" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Filter a sequence with a closure/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "filter_a_sequence_with_a_closure" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Capitalize first/src/main.rs: -------------------------------------------------------------------------------- 1 | use capitalize_first::*; 2 | 3 | fn main() { 4 | iterate_string_vec(); 5 | iterate_into_string() 6 | } 7 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Loop Over Vector With Iterators/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "loop_over_vector_with_iterators" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Deliver Complex Messages/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "enum_variant_types" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Enum Values with Data/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "enum_values_with_data" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Implement Match/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "implement_match" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/The Match Operator/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "match_operator" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Defining Methods/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "method_syntax" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs with Methods/Sending Packages/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "struct_logic" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Dealing with Rectangles/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "example_structs" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Ownership of Struct Data/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "defining_structs" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/The Rules of References/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_rules_of_references" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/String Slices as Parameters/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "string_slices_as_parameters" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/Build String from Literals/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "build_string_from_literals" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Assert/src/lib.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod tests { 3 | #[test] 4 | fn you_can_assert() { 5 | assert!(true); 6 | } 7 | } -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Submodules in Integration Tests/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "submodules" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Strings/Strings and strs/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "strings_and_strs" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" -------------------------------------------------------------------------------- /Common Collections/Vectors/Dropping a Vector Drops Its Elements/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dropping_a_vector_drops_its_elements" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Iterating over the Values in a Vector/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "iterating_over_the_values_in_a_vector" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Functions/Type Annotation of a Parameter/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "type_annotation_of_a_parameter" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Print Months/task.md: -------------------------------------------------------------------------------- 1 | ## Print Months 2 | 3 | You have an array with month names. Print all of them line by line using the `for` loop. 4 | 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables, Functions, and Conditions Test/Calculate Price/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "calculate_price" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Changing Type/tests/tests.rs: -------------------------------------------------------------------------------- 1 | #[test] 2 | fn if_compiles() { 3 | //Mocking test to run only the compiler's checker 4 | assert!(true); 5 | } -------------------------------------------------------------------------------- /Error Handling/Errors Primer/Multiple Errors/tests/tests.rs: -------------------------------------------------------------------------------- 1 | #[test] 2 | fn if_compiles() { 3 | //Mocking test to run only the compiler's checker 4 | assert!(true); 5 | } 6 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/In Method Definitions/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "in_method_definitions" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/In Struct Definitions/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "in_struct_definitions" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Intro/Computing the Largest Number/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "computing_the_largest_number" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetime Annotation Syntax/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "lifetime_annotation_syntax" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetime Going Out of Scope/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "lifetime_going_out_of_scope" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Macros/Intro/The Difference Between Macros and Functions/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_difference_between_macros_and_functions" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Using External Packages/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "using_external_packages" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | rand = "0.8.5" -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Iterable Collection/tests/tests.rs: -------------------------------------------------------------------------------- 1 | #[test] 2 | fn if_compiles() { 3 | //A mock test only to run the compiler's checker 4 | assert!(true); 5 | } -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Methods that Consume the Iterator/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "methods_that_consume_the_iterator" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Smart Pointers/lesson-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Intro 3 | - Box Task 4 | - Use Rc 5 | - Use Cow 6 | - Switch the Lamp 7 | - Workers in the Engine 8 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/lesson-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Intro 3 | - Using As 4 | - From Into 5 | - FromStr 6 | - Try From Into 7 | - AsRef and AsMut 8 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Implement Match/tests/output.txt: -------------------------------------------------------------------------------- 1 | hello world 2 | Color: (255, 0, 255) 3 | Position: Point { x: 10, y: 15 } 4 | Quit 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Refactoring with Tuples/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "refactoring_with_tuples" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Nice Slice/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "slices" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" 8 | -------------------------------------------------------------------------------- /Common Collections/Strings/Slicing Strings/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let hello = "Здравствуйте"; 3 | let s = &hello[0..4]; 4 | println!("{}", s); // Prints "Зд" 5 | } 6 | -------------------------------------------------------------------------------- /Common Programming Concepts/Basic Data Types/Use Clippy as External Linter/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "use_clippy_as_external_linter" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Constant Type/tests/tests.rs: -------------------------------------------------------------------------------- 1 | #[test] 2 | fn if_compiles() { 3 | //Mocking test to run only the compiler's checker 4 | assert!(true); 5 | } 6 | -------------------------------------------------------------------------------- /Error Handling/Errors Primer/lesson-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Positive Nonzero Integer 3 | - Multiple Errors 4 | - Custom Errors 5 | - Advanced Errors 6 | - Advanced Errors 2 7 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Threads Task/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "threads" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Generic Lifetimes in Functions/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "generic_lifetimes_in_functions" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Thinking in Terms of Lifetimes/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "thinking_in_terms_of_lifetimes" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Implementing a Trait on a Type/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "implementing_a_trait_on_a_type" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Methods that Produce Other Iterators/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "methods_that_produce_other_iterators" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Enums with Data and Methods/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "enums_with_data_and_methods" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Matching with Option/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "matching_with_option" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Adding Custom Failure Messages/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "adding_custom_failure_messages" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Assert_Eq/src/lib.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod tests { 3 | #[test] 4 | fn you_can_assert_eq() { 5 | assert_eq!(1, 1); 6 | } 7 | } -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/The Anatomy of a Test Function/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_anatomy_of_a_test_function" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Collections/Vectors/Updating a Vector/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let mut v = Vec::new(); 3 | 4 | v.push(5); 5 | v.push(6); 6 | v.push(7); 7 | v.push(8); 8 | } 9 | -------------------------------------------------------------------------------- /Common Programming Concepts/Repetitions/Looping Through an Array with for/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "looping_through_a_collection_with_for" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/Destructure a Tuple/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "tuples" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/Tuple Index/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "tuple_index" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" -------------------------------------------------------------------------------- /Common Programming Concepts/Tuples and Arrays/lesson-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - The Tuple Type 3 | - Destructure a Tuple 4 | - Tuple Index 5 | - The Array Type 6 | - Create an Array 7 | -------------------------------------------------------------------------------- /Common Programming Concepts/Variables/Constants/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | const THREE_HOURS_IN_SECONDS: u32 = 60 * 60 * 3; 3 | 4 | println!("{}", THREE_HOURS_IN_SECONDS) 5 | } 6 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Receiving Values/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "receiving_values" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Pattern Binding/tests/tests.rs: -------------------------------------------------------------------------------- 1 | #[test] 2 | fn if_compiles() { 3 | //Mocking test to run only the compiler's checker 4 | assert!(true); 5 | } -------------------------------------------------------------------------------- /Introduction/Getting started/Course View/edu_course_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetbrains-academy/rustlings-course/HEAD/Introduction/Getting started/Course View/edu_course_view.png -------------------------------------------------------------------------------- /Introduction/Getting started/Editor/edu_context_menu_run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetbrains-academy/rustlings-course/HEAD/Introduction/Getting started/Editor/edu_context_menu_run.png -------------------------------------------------------------------------------- /Modules/Modules/Bringing Paths into Scope with the use Keyword/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "bringing_paths_into_scope_with_the_use_keyword" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Modules/Modules/Using Nested Paths to Clean Up Large use Lists/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "using_nested_paths_to_clean_up_large_use_lists" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Capturing the Environment with Closures/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "capturing_the_environment_with_closures" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Iterators/Loop Over Vector With Iterators/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub fn vec_map(v: &Vec) -> Vec { 2 | v.iter().map(|num| { 3 | num * 2 4 | }).collect() 5 | } -------------------------------------------------------------------------------- /Standard Library Types/Iterators/The Iterator Trait and the next Method/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "the_iterator_trait_and_the_next_method" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Matches Are Exhaustive/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "matches_are_exhaustive" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Other Slices/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let a = [1, 2, 3, 4, 5]; 3 | 4 | let slice = &a[1..3]; 5 | 6 | println!("{:?}", slice) 7 | } 8 | -------------------------------------------------------------------------------- /Understanding Ownership/The Slice Type/Understanding Types/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "show_type" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" -------------------------------------------------------------------------------- /Common Collections/Strings/Indexing into Strings/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let s1 = String::from("hello"); 3 | // ERROR!!! String doesn't support indexing! 4 | let h = s1[0]; 5 | } 6 | -------------------------------------------------------------------------------- /Fearless Concurrency/Shared-State Concurrency/Atomic Reference Counting with Arc/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "atomic_reference_counting_with_arc" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Creating a Channel/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "creating_a_channel" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Sending Values/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "moving_a_transmitting_end" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Fearless Concurrency/section-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Using Threads to Run Code Simultaneously 3 | - Using Message Passing to Transfer Data Between Threads 4 | - Shared-State Concurrency 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Generics in Vec/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let mut shopping_list: Vec<&str> = Vec::new(); 3 | shopping_list.push("milk"); 4 | } 5 | -------------------------------------------------------------------------------- /Modules/Modules/Paths for Referring to an Item in the Module Tree/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "paths_for_referring_to_an_item_in_the_module_tree" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Standard Library Types/Closures/Capturing References or Moving Ownership/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "capturing_references_or_moving_ownership" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Enum Values with Different Data/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "enum_values_with_different_data" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Defining and Initiating Structs/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "defining_and_initiating_structs" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Play with Color Structs/tests/output.txt: -------------------------------------------------------------------------------- 1 | Classic Struct: 2 | Name: green 3 | Hex: #00FF00 4 | Tuple Struct: 5 | Name: green 6 | Hex: #00FF00 7 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Structs/Using the Field Init Shorthand/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "using_the_field_init_shorthand" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Borrowing Values with References/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "borrowing_values_with_references" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Restriction of Mutable References/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "restriction_of_mutable_references" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/More Exclamations/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "more_exclamations" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" -------------------------------------------------------------------------------- /Writing Automated Tests/Running and Organizing Tests/Submodules in Integration Tests/tests/common/mod.rs: -------------------------------------------------------------------------------- 1 | pub fn setup() { 2 | // setup code specific to your library's tests would go here 3 | } -------------------------------------------------------------------------------- /Common Programming Concepts/Conditions/lesson-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - Intro 3 | - else if 4 | - Using if in a let Statement 5 | - If Task 6 | - Add Conditions 7 | - Managing Conditions 8 | -------------------------------------------------------------------------------- /Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Creating a Channel/src/main.rs: -------------------------------------------------------------------------------- 1 | use std::sync::mpsc; 2 | 3 | fn main() { 4 | let (tx, rx) = mpsc::channel::(); 5 | } -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Generic Data Types/Generics in Vec/tests/tests.rs: -------------------------------------------------------------------------------- 1 | #[test] 2 | fn if_compiles() { 3 | //Mocking test to run only the compiler's checker 4 | assert!(true); 5 | } -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Lifetimes/Lifetimes for Structs with References/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "lifetimes_for_structs_with_references" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Generic Types, Traits, and Lifetime/Traits/Returning Types that Implement Traits/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "returning_types_that_implement_traits" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Introduction/Getting started/lesson-info.yaml: -------------------------------------------------------------------------------- 1 | content: 2 | - About 3 | - Navigating Around 4 | - Course View 5 | - Editor 6 | - Task Description 7 | - Hello World 8 | - External Linter 9 | -------------------------------------------------------------------------------- /Standard Library Types/Type Conversions/Using As/src/main.rs: -------------------------------------------------------------------------------- 1 | use using_as::average; 2 | 3 | fn main() { 4 | let values = [3.5, 0.3, 13.0, 11.7]; 5 | println!("{}", average(&values)); 6 | } 7 | -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Enums/Deliver Messages/tests/tests.rs: -------------------------------------------------------------------------------- 1 | #[test] 2 | fn if_compiles() { 3 | //Mocking test to run only the compiler's checker 4 | assert!(true); 5 | } -------------------------------------------------------------------------------- /Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Patterns that Bind to Values/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "patterns_that_bind_to_values" 3 | version = "0.1.0" 4 | edition = "2021" 5 | -------------------------------------------------------------------------------- /Understanding Ownership/References and Borrowing/Reference Order/tests/tests.rs: -------------------------------------------------------------------------------- 1 | #[test] 2 | fn if_compiles() { 3 | //Mocking test to run only the compiler's checker 4 | assert!(true); 5 | } 6 | -------------------------------------------------------------------------------- /Understanding Ownership/What is ownership/More Exclamations 2/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "more_exclamations_2" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | escargot = "0.5" -------------------------------------------------------------------------------- /Writing Automated Tests/How to Write Tests/Checking Results with the assert Macro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "checking_results_with_the_assert_macro" 3 | version = "0.1.0" 4 | edition = "2021" 5 | --------------------------------------------------------------------------------