rustlings

solving rustlings ft. dracuxan
git clone [email protected]:dracuxan/rustlings.git
Log | Files | Refs

ModeNameSize
-rw-r--r--.gitignore3L
-rw-r--r--.rustlings-state.txt73L
-rw-r--r--Cargo.toml222L
-rw-r--r--exercises/00_intro/README.md8L
-rw-r--r--exercises/00_intro/intro1.rs24L
-rw-r--r--exercises/00_intro/intro2.rs4L
-rw-r--r--exercises/01_variables/README.md9L
-rw-r--r--exercises/01_variables/variables1.rs6L
-rw-r--r--exercises/01_variables/variables2.rs10L
-rw-r--r--exercises/01_variables/variables3.rs6L
-rw-r--r--exercises/01_variables/variables4.rs8L
-rw-r--r--exercises/01_variables/variables5.rs9L
-rw-r--r--exercises/01_variables/variables6.rs6L
-rw-r--r--exercises/02_functions/README.md8L
-rw-r--r--exercises/02_functions/functions1.rs7L
-rw-r--r--exercises/02_functions/functions2.rs10L
-rw-r--r--exercises/02_functions/functions3.rs10L
-rw-r--r--exercises/02_functions/functions4.rs22L
-rw-r--r--exercises/02_functions/functions5.rs9L
-rw-r--r--exercises/03_if/README.md7L
-rw-r--r--exercises/03_if/if1.rs33L
-rw-r--r--exercises/03_if/if2.rs39L
-rw-r--r--exercises/03_if/if3.rs53L
-rw-r--r--exercises/04_primitive_types/README.md9L
-rw-r--r--exercises/04_primitive_types/primitive_types1.rs16L
-rw-r--r--exercises/04_primitive_types/primitive_types2.rs29L
-rw-r--r--exercises/04_primitive_types/primitive_types3.rs17L
-rw-r--r--exercises/04_primitive_types/primitive_types4.rs16L
-rw-r--r--exercises/04_primitive_types/primitive_types5.rs8L
-rw-r--r--exercises/04_primitive_types/primitive_types6.rs17L
-rw-r--r--exercises/05_vecs/README.md17L
-rw-r--r--exercises/05_vecs/vecs1.rs24L
-rw-r--r--exercises/05_vecs/vecs2.rs56L
-rw-r--r--exercises/06_move_semantics/README.md10L
-rw-r--r--exercises/06_move_semantics/move_semantics1.rs24L
-rw-r--r--exercises/06_move_semantics/move_semantics2.rs28L
-rw-r--r--exercises/06_move_semantics/move_semantics3.rs22L
-rw-r--r--exercises/06_move_semantics/move_semantics4.rs18L
-rw-r--r--exercises/06_move_semantics/move_semantics5.rs24L
-rw-r--r--exercises/07_structs/README.md8L
-rw-r--r--exercises/07_structs/structs1.rs54L
-rw-r--r--exercises/07_structs/structs2.rs51L
-rw-r--r--exercises/07_structs/structs3.rs89L
-rw-r--r--exercises/08_enums/README.md10L
-rw-r--r--exercises/08_enums/enums1.rs17L
-rw-r--r--exercises/08_enums/enums2.rs38L
-rw-r--r--exercises/08_enums/enums3.rs95L
-rw-r--r--exercises/09_strings/README.md9L
-rw-r--r--exercises/09_strings/strings1.rs9L
-rw-r--r--exercises/09_strings/strings2.rs14L
-rw-r--r--exercises/09_strings/strings3.rs49L
-rw-r--r--exercises/09_strings/strings4.rs37L
-rw-r--r--exercises/10_modules/README.md7L
-rw-r--r--exercises/10_modules/modules1.rs16L
-rw-r--r--exercises/10_modules/modules2.rs26L
-rw-r--r--exercises/10_modules/modules3.rs13L
-rw-r--r--exercises/11_hashmaps/README.md12L
-rw-r--r--exercises/11_hashmaps/hashmaps1.rs43L
-rw-r--r--exercises/11_hashmaps/hashmaps2.rs98L
-rw-r--r--exercises/11_hashmaps/hashmaps3.rs86L
-rw-r--r--exercises/12_options/README.md21L
-rw-r--r--exercises/12_options/options1.rs43L
-rw-r--r--exercises/12_options/options2.rs41L
-rw-r--r--exercises/12_options/options3.rs17L
-rw-r--r--exercises/13_error_handling/README.md12L
-rw-r--r--exercises/13_error_handling/errors1.rs41L
-rw-r--r--exercises/13_error_handling/errors2.rs55L
-rw-r--r--exercises/13_error_handling/errors3.rs33L
-rw-r--r--exercises/13_error_handling/errors4.rs53L
-rw-r--r--exercises/13_error_handling/errors5.rs56L
-rw-r--r--exercises/13_error_handling/errors6.rs91L
-rw-r--r--exercises/14_generics/README.md11L
-rw-r--r--exercises/14_generics/generics1.rs18L
-rw-r--r--exercises/14_generics/generics2.rs31L
-rw-r--r--exercises/15_traits/README.md19L
-rw-r--r--exercises/15_traits/traits1.rs33L
-rw-r--r--exercises/15_traits/traits2.rs28L
-rw-r--r--exercises/15_traits/traits3.rs40L
-rw-r--r--exercises/15_traits/traits4.rs35L
-rw-r--r--exercises/15_traits/traits5.rs39L
-rw-r--r--exercises/16_lifetimes/README.md22L
-rw-r--r--exercises/16_lifetimes/lifetimes1.rs24L
-rw-r--r--exercises/16_lifetimes/lifetimes2.rs16L
-rw-r--r--exercises/16_lifetimes/lifetimes3.rs16L
-rw-r--r--exercises/17_tests/README.md7L
-rw-r--r--exercises/17_tests/tests1.rs24L
-rw-r--r--exercises/17_tests/tests2.rs23L
-rw-r--r--exercises/17_tests/tests3.rs49L
-rw-r--r--exercises/18_iterators/README.md8L
-rw-r--r--exercises/18_iterators/iterators1.rs25L
-rw-r--r--exercises/18_iterators/iterators2.rs57L
-rw-r--r--exercises/18_iterators/iterators3.rs75L
-rw-r--r--exercises/18_iterators/iterators4.rs41L
-rw-r--r--exercises/18_iterators/iterators5.rs153L
-rw-r--r--exercises/19_smart_pointers/README.md12L
-rw-r--r--exercises/19_smart_pointers/arc1.rs45L
-rw-r--r--exercises/19_smart_pointers/box1.rs50L
-rw-r--r--exercises/19_smart_pointers/cow1.rs69L
-rw-r--r--exercises/19_smart_pointers/rc1.rs105L
-rw-r--r--exercises/20_threads/README.md10L
-rw-r--r--exercises/20_threads/threads1.rs37L
-rw-r--r--exercises/20_threads/threads2.rs34L
-rw-r--r--exercises/20_threads/threads3.rs60L
-rw-r--r--exercises/21_macros/README.md15L
-rw-r--r--exercises/21_macros/macros1.rs10L
-rw-r--r--exercises/21_macros/macros2.rs10L
-rw-r--r--exercises/21_macros/macros3.rs13L
-rw-r--r--exercises/21_macros/macros4.rs15L
-rw-r--r--exercises/22_clippy/README.md10L
-rw-r--r--exercises/22_clippy/clippy1.rs15L
-rw-r--r--exercises/22_clippy/clippy2.rs10L
-rw-r--r--exercises/22_clippy/clippy3.rs29L
-rw-r--r--exercises/23_conversions/README.md23L
-rw-r--r--exercises/23_conversions/as_ref_mut.rs62L
-rw-r--r--exercises/23_conversions/from_into.rs130L
-rw-r--r--exercises/23_conversions/from_str.rs113L
-rw-r--r--exercises/23_conversions/try_from_into.rs177L
-rw-r--r--exercises/23_conversions/using_as.rs24L
-rw-r--r--exercises/README.md27L
-rw-r--r--exercises/quizzes/README.md3L
-rw-r--r--exercises/quizzes/quiz1.rs34L
-rw-r--r--exercises/quizzes/quiz2.rs76L
-rw-r--r--exercises/quizzes/quiz3.rs64L
-rw-r--r--rust-analyzer.toml3L
-rw-r--r--solutions/00_intro/intro1.rs5L
-rw-r--r--solutions/00_intro/intro2.rs4L
-rw-r--r--solutions/01_variables/variables1.rs6L
-rw-r--r--solutions/01_variables/variables2.rs16L
-rw-r--r--solutions/01_variables/variables3.rs15L
-rw-r--r--solutions/01_variables/variables4.rs9L
-rw-r--r--solutions/01_variables/variables5.rs9L
-rw-r--r--solutions/01_variables/variables6.rs6L
-rw-r--r--solutions/02_functions/functions1.rs8L
-rw-r--r--solutions/02_functions/functions2.rs11L
-rw-r--r--solutions/02_functions/functions3.rs10L
-rw-r--r--solutions/02_functions/functions4.rs17L
-rw-r--r--solutions/02_functions/functions5.rs9L
-rw-r--r--solutions/03_if/if1.rs28L
-rw-r--r--solutions/03_if/if2.rs35L
-rw-r--r--solutions/03_if/if3.rs53L
-rw-r--r--solutions/04_primitive_types/primitive_types1.rs4L
-rw-r--r--solutions/04_primitive_types/primitive_types2.rs21L
-rw-r--r--solutions/04_primitive_types/primitive_types3.rs11L
-rw-r--r--solutions/04_primitive_types/primitive_types4.rs23L
-rw-r--r--solutions/04_primitive_types/primitive_types5.rs8L
-rw-r--r--solutions/04_primitive_types/primitive_types6.rs16L
-rw-r--r--solutions/05_vecs/vecs1.rs23L
-rw-r--r--solutions/05_vecs/vecs2.rs55L
-rw-r--r--solutions/06_move_semantics/move_semantics1.rs25L
-rw-r--r--solutions/06_move_semantics/move_semantics2.rs28L
-rw-r--r--solutions/06_move_semantics/move_semantics3.rs22L
-rw-r--r--solutions/06_move_semantics/move_semantics4.rs19L
-rw-r--r--solutions/06_move_semantics/move_semantics5.rs23L
-rw-r--r--solutions/07_structs/structs1.rs49L
-rw-r--r--solutions/07_structs/structs2.rs51L
-rw-r--r--solutions/07_structs/structs3.rs83L
-rw-r--r--solutions/08_enums/enums1.rs16L
-rw-r--r--solutions/08_enums/enums2.rs37L
-rw-r--r--solutions/08_enums/enums3.rs92L
-rw-r--r--solutions/09_strings/strings1.rs9L
-rw-r--r--solutions/09_strings/strings2.rs15L
-rw-r--r--solutions/09_strings/strings3.rs49L
-rw-r--r--solutions/09_strings/strings4.rs38L
-rw-r--r--solutions/10_modules/modules1.rs15L
-rw-r--r--solutions/10_modules/modules2.rs23L
-rw-r--r--solutions/10_modules/modules3.rs8L
-rw-r--r--solutions/11_hashmaps/hashmaps1.rs42L
-rw-r--r--solutions/11_hashmaps/hashmaps2.rs96L
-rw-r--r--solutions/11_hashmaps/hashmaps3.rs85L
-rw-r--r--solutions/12_options/options1.rs39L
-rw-r--r--solutions/12_options/options2.rs37L
-rw-r--r--solutions/12_options/options3.rs27L
-rw-r--r--solutions/13_error_handling/errors1.rs37L
-rw-r--r--solutions/13_error_handling/errors2.rs58L
-rw-r--r--solutions/13_error_handling/errors3.rs32L
-rw-r--r--solutions/13_error_handling/errors4.rs42L
-rw-r--r--solutions/13_error_handling/errors5.rs54L
-rw-r--r--solutions/13_error_handling/errors6.rs106L
-rw-r--r--solutions/14_generics/generics1.rs17L
-rw-r--r--solutions/14_generics/generics2.rs28L
-rw-r--r--solutions/15_traits/traits1.rs32L
-rw-r--r--solutions/15_traits/traits2.rs27L
-rw-r--r--solutions/15_traits/traits3.rs36L
-rw-r--r--solutions/15_traits/traits4.rs35L
-rw-r--r--solutions/15_traits/traits5.rs39L
-rw-r--r--solutions/16_lifetimes/lifetimes1.rs24L
-rw-r--r--solutions/16_lifetimes/lifetimes2.rs29L
-rw-r--r--solutions/16_lifetimes/lifetimes3.rs18L
-rw-r--r--solutions/17_tests/tests1.rs24L
-rw-r--r--solutions/17_tests/tests2.rs22L
-rw-r--r--solutions/17_tests/tests3.rs4L
-rw-r--r--solutions/18_iterators/iterators1.rs4L
-rw-r--r--solutions/18_iterators/iterators2.rs4L
-rw-r--r--solutions/18_iterators/iterators3.rs4L
-rw-r--r--solutions/18_iterators/iterators4.rs4L
-rw-r--r--solutions/18_iterators/iterators5.rs4L
-rw-r--r--solutions/19_smart_pointers/arc1.rs4L
-rw-r--r--solutions/19_smart_pointers/box1.rs4L
-rw-r--r--solutions/19_smart_pointers/cow1.rs4L
-rw-r--r--solutions/19_smart_pointers/rc1.rs4L
-rw-r--r--solutions/20_threads/threads1.rs4L
-rw-r--r--solutions/20_threads/threads2.rs4L
-rw-r--r--solutions/20_threads/threads3.rs4L
-rw-r--r--solutions/21_macros/macros1.rs4L
-rw-r--r--solutions/21_macros/macros2.rs4L
-rw-r--r--solutions/21_macros/macros3.rs4L
-rw-r--r--solutions/21_macros/macros4.rs4L
-rw-r--r--solutions/22_clippy/clippy1.rs4L
-rw-r--r--solutions/22_clippy/clippy2.rs4L
-rw-r--r--solutions/22_clippy/clippy3.rs4L
-rw-r--r--solutions/23_conversions/as_ref_mut.rs4L
-rw-r--r--solutions/23_conversions/from_into.rs4L
-rw-r--r--solutions/23_conversions/from_str.rs4L
-rw-r--r--solutions/23_conversions/try_from_into.rs4L
-rw-r--r--solutions/23_conversions/using_as.rs4L
-rw-r--r--solutions/README.md6L
-rw-r--r--solutions/quizzes/quiz1.rs30L
-rw-r--r--solutions/quizzes/quiz2.rs90L
-rw-r--r--solutions/quizzes/quiz3.rs65L