1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-30 09:06:56 +02:00
rustlings/solutions
2024-09-22 10:49:55 +02:00
..
00_intro Add solutions to bins 2024-05-25 18:19:30 +02:00
01_variables Fix typo 2024-07-04 13:38:41 +02:00
02_functions Only take a u8 to avoid huge output 2024-08-17 14:59:00 +02:00
03_if Make if2 less confusing 2024-09-14 10:03:52 +02:00
04_primitive_types primitive_types6 solution 2024-06-19 14:25:29 +02:00
05_vecs Add comment to vecs2 2024-06-21 15:06:50 +02:00
06_move_semantics move_semantics4: Avoid using the dereference operator 2024-07-10 13:50:39 +02:00
07_structs structs3 solution 2024-06-21 22:54:00 +02:00
08_enums Allow dead code for all exercises and solutions 2024-09-13 14:56:46 +02:00
09_strings Add missing Clippy allows to solutions 2024-08-22 14:41:25 +02:00
10_modules Allow dead code for all exercises and solutions 2024-09-13 14:56:46 +02:00
11_hashmaps fix typo 2024-08-15 14:21:27 -04:00
12_options Add comment to options1 2024-07-04 13:00:04 +02:00
13_error_handling Import Ordering 2024-08-22 14:42:17 +02:00
14_generics generics2 solution 2024-06-27 02:25:11 +02:00
15_traits Allow dead code for all exercises and solutions 2024-09-13 14:56:46 +02:00
16_lifetimes lifetimes3 solution 2024-06-27 16:15:53 +02:00
17_tests tests3: Fix panic message 2024-07-22 12:02:59 +02:00
18_iterators Add missing Clippy allows to solutions 2024-08-22 14:41:25 +02:00
19_smart_pointers Allow dead code for all exercises and solutions 2024-09-13 14:56:46 +02:00
20_threads threads3: Improve the test 2024-08-20 13:35:07 +02:00
21_macros macros4 solution 2024-07-01 11:54:05 +02:00
22_clippy clippy3 solution 2024-07-01 12:09:52 +02:00
23_conversions Do not use .as_bytes().len() on strings 2024-09-22 10:49:55 +02:00
quizzes Sync comment from exercise 2024-07-08 15:20:23 +02:00
README.md Fix typo 2024-08-09 12:47:32 +02:00

Official Rustlings solutions

Before you finish an exercise, its solution file will only contain an empty main function. The content of this file will be automatically replaced by the actual solution once you finish the exercise.

Note that these solutions are often only one possibility to solve an exercise.