1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-21 17:56:35 +02:00
rustlings/solutions
2024-11-14 09:14:40 +01: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 Avoid single char variables 2024-10-09 15:27:36 +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 Add required type annotation 2024-10-17 14:49:07 +02:00
12_options Add comment to options1 2024-07-04 13:00:04 +02:00
13_error_handling Switch comment style to // 2024-11-14 09:14:40 +01: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 threads1: Fix typos in description 2024-10-22 16:53:23 +11:00
21_macros macros4 solution 2024-07-01 11:54:05 +02:00
22_clippy clippy3: Make the intent more clear 2024-11-13 16:06:41 +01: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.