Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gaveen/rustlings-solutions

Rustlings 5 (5.2.1) Solutions
https://github.com/gaveen/rustlings-solutions

Last synced: 28 days ago
JSON representation

Rustlings 5 (5.2.1) Solutions

Awesome Lists containing this project

README

        

# Rustlings Solutions v5 (5.2.1)
This repository contains the contents of the 'exercises' directory of Rustlings version 5.2.1 with all the completed solutions.

## Exercise to Book Chapter mapping

| Exercise | Book Chapter |
| ---------------------- | ------------------- |
| variables | §3.1 |
| functions | §3.3 |
| if | §3.5 |
| primitive_types | §3.2, §4.3 |
| vecs | §8.1 |
| move_semantics | §4.1, §4.2 |
| structs | §5.1, §5.3 |
| enums | §6, §18.3 |
| strings | §8.2 |
| modules | §7 |
| hashmaps | §8.3 |
| options | §10.1 |
| error_handling | §9 |
| generics | §10 |
| traits | §10.2 |
| tests | §11.1 |
| lifetimes | §10.3 |
| standard_library_types | §13.2, §15.1, §16.3 |
| threads | §16.1, §16.2, §16.3 |
| macros | §19.6 |
| clippy | n/a |
| conversions | n/a |

## Solutions to source file mapping

### **intro**
- [intro1](intro/intro1.rs)
- [intro2](intro/intro2.rs)

### **variables**
- [variables1](variables/variables1.rs)
- [variables2](variables/variables2.rs)
- [variables3](variables/variables3.rs)
- [variables4](variables/variables4.rs)
- [variables5](variables/variables5.rs)
- [variables6](variables/variables6.rs)

### **functions**
- [functions1](functions/functions1.rs)
- [functions2](functions/functions2.rs)
- [functions3](functions/functions3.rs)
- [functions4](functions/functions4.rs)
- [functions5](functions/functions5.rs)

### **if**
- [if1](if/if1.rs)
- [if2](if/if2.rs)

### **quiz1**
- [quiz1](quiz1.rs)

### **primitive_types**
- [primitive_types1](primitive_types/primitive_types1.rs)
- [primitive_types2](primitive_types/primitive_types2.rs)
- [primitive_types3](primitive_types/primitive_types3.rs)
- [primitive_types4](primitive_types/primitive_types4.rs)
- [primitive_types5](primitive_types/primitive_types5.rs)
- [primitive_types6](primitive_types/primitive_types6.rs)

### **vecs**
- [vecs1](vecs/vecs1.rs)
- [vecs2](vecs/vecs2.rs)

### **move_semantics**
- [move_semantics1](move_semantics/move_semantics1.rs)
- [move_semantics2](move_semantics/move_semantics2.rs)
- [move_semantics3](move_semantics/move_semantics3.rs)
- [move_semantics4](move_semantics/move_semantics4.rs)
- [move_semantics5](move_semantics/move_semantics5.rs)
- [move_semantics6](move_semantics/move_semantics6.rs)

### **structs**
- [structs1](structs/structs1.rs)
- [structs2](structs/structs2.rs)
- [structs3](structs/structs3.rs)

### **enums**
- [enums1](enums/enums1.rs)
- [enums2](enums/enums2.rs)
- [enums3](enums/enums3.rs)

### **strings**
- [strings1](strings/strings1.rs)
- [strings2](strings/strings2.rs)
- [strings3](strings/strings3.rs)
- [strings4](strings/strings4.rs)

### **modules**
- [modules1](modules/modules1.rs)
- [modules2](modules/modules2.rs)
- [modules3](modules/modules3.rs)

### **hashmaps**
- [hashmaps1](hashmaps/hashmaps1.rs)
- [hashmaps2](hashmaps/hashmaps2.rs)
- [hashmaps3](hashmaps/hashmaps3.rs)

### **quiz2**
- [quiz2](quiz2.rs)

### **options**
- [options1](options/options1.rs)
- [options2](options/options2.rs)
- [options3](options/options3.rs)

### **error_handling**
- [errors1](error_handling/errors1.rs)
- [errors2](error_handling/errors2.rs)
- [errors3](error_handling/errors3.rs)
- [errors4](error_handling/errors4.rs)
- [errors5](error_handling/errors5.rs)
- [errors6](error_handling/errors6.rs)

### **generics**
- [generics1](generics/generics1.rs)
- [generics2](generics/generics2.rs)

### **traits**
- [traits1](traits/traits1.rs)
- [traits2](traits/traits2.rs)
- [traits3](traits/traits3.rs)
- [traits4](traits/traits4.rs)
- [traits5](traits/traits5.rs)

### **quiz3**
- [quiz3](quiz3.rs)

### **tests**
- [tests1](tests/tests1.rs)
- [tests2](tests/tests2.rs)
- [tests3](tests/tests3.rs)

### **lifetimes**
- [lifetimes1](lifetimes/lifetimes1.rs)
- [lifetimes2](lifetimes/lifetimes2.rs)
- [lifetimes3](lifetimes/lifetimes3.rs)

### **standard_library_types**
- [iterators1](standard_library_types/iterators1.rs)
- [iterators2](standard_library_types/iterators2.rs)
- [iterators3](standard_library_types/iterators3.rs)
- [iterators4](standard_library_types/iterators4.rs)
- [iterators5](standard_library_types/iterators5.rs)
- [box1](standard_library_types/box1.rs)
- [rc1](standard_library_types/rc1.rs)
- [arc1](standard_library_types/arc1.rs)
- [cow1](standard_library_types/cow1.rs)

### **threads**
- [threads1](threads/threads1.rs)
- [threads2](threads/threads2.rs)
- [threads3](threads/threads3.rs)

### **macros**
- [macros1](macros/macros1.rs)
- [macros2](macros/macros2.rs)
- [macros3](macros/macros3.rs)
- [macros4](macros/macros4.rs)

### **clippy**
- [clippy1](clippy/clippy1.rs)
- [clippy2](clippy/clippy2.rs)
- [clippy3](clippy/clippy3.rs)

### **conversions**
- [using_as](conversions/using_as.rs)
- [from_into](conversions/from_into.rs)
- [from_str](conversions/from_str.rs)
- [try_from_into](conversions/try_from_into.rs)
- [as_ref_mut](conversions/as_ref_mut.rs)