summaryrefslogtreecommitdiff
path: root/rustlings/solutions
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2026-09-14 17:15:13 -0500
committerHunter Kvalevog <hunter@kvog.sh>2026-09-14 17:28:26 -0500
commitbf66df1a16461ef1ee50510803a3097914ffcb82 (patch)
tree15a13e34a794ec182c1e4c4507645ac43e07c6bc /rustlings/solutions
parentb6245506460bd854ab32b1b6d2ecc51f5be82ef9 (diff)
Add rustlings
Diffstat (limited to 'rustlings/solutions')
-rw-r--r--rustlings/solutions/00_intro/intro1.rs4
-rw-r--r--rustlings/solutions/00_intro/intro2.rs4
-rw-r--r--rustlings/solutions/01_variables/variables1.rs4
-rw-r--r--rustlings/solutions/01_variables/variables2.rs4
-rw-r--r--rustlings/solutions/01_variables/variables3.rs4
-rw-r--r--rustlings/solutions/01_variables/variables4.rs4
-rw-r--r--rustlings/solutions/01_variables/variables5.rs4
-rw-r--r--rustlings/solutions/01_variables/variables6.rs4
-rw-r--r--rustlings/solutions/02_functions/functions1.rs4
-rw-r--r--rustlings/solutions/02_functions/functions2.rs4
-rw-r--r--rustlings/solutions/02_functions/functions3.rs4
-rw-r--r--rustlings/solutions/02_functions/functions4.rs4
-rw-r--r--rustlings/solutions/02_functions/functions5.rs4
-rw-r--r--rustlings/solutions/03_if/if1.rs4
-rw-r--r--rustlings/solutions/03_if/if2.rs4
-rw-r--r--rustlings/solutions/03_if/if3.rs4
-rw-r--r--rustlings/solutions/04_primitive_types/primitive_types1.rs4
-rw-r--r--rustlings/solutions/04_primitive_types/primitive_types2.rs4
-rw-r--r--rustlings/solutions/04_primitive_types/primitive_types3.rs4
-rw-r--r--rustlings/solutions/04_primitive_types/primitive_types4.rs4
-rw-r--r--rustlings/solutions/04_primitive_types/primitive_types5.rs4
-rw-r--r--rustlings/solutions/04_primitive_types/primitive_types6.rs4
-rw-r--r--rustlings/solutions/05_vecs/vecs1.rs4
-rw-r--r--rustlings/solutions/05_vecs/vecs2.rs4
-rw-r--r--rustlings/solutions/06_move_semantics/move_semantics1.rs4
-rw-r--r--rustlings/solutions/06_move_semantics/move_semantics2.rs4
-rw-r--r--rustlings/solutions/06_move_semantics/move_semantics3.rs4
-rw-r--r--rustlings/solutions/06_move_semantics/move_semantics4.rs4
-rw-r--r--rustlings/solutions/06_move_semantics/move_semantics5.rs4
-rw-r--r--rustlings/solutions/07_structs/structs1.rs4
-rw-r--r--rustlings/solutions/07_structs/structs2.rs4
-rw-r--r--rustlings/solutions/07_structs/structs3.rs4
-rw-r--r--rustlings/solutions/08_enums/enums1.rs4
-rw-r--r--rustlings/solutions/08_enums/enums2.rs4
-rw-r--r--rustlings/solutions/08_enums/enums3.rs4
-rw-r--r--rustlings/solutions/09_strings/strings1.rs4
-rw-r--r--rustlings/solutions/09_strings/strings2.rs4
-rw-r--r--rustlings/solutions/09_strings/strings3.rs4
-rw-r--r--rustlings/solutions/09_strings/strings4.rs4
-rw-r--r--rustlings/solutions/10_modules/modules1.rs4
-rw-r--r--rustlings/solutions/10_modules/modules2.rs4
-rw-r--r--rustlings/solutions/10_modules/modules3.rs4
-rw-r--r--rustlings/solutions/11_hashmaps/hashmaps1.rs4
-rw-r--r--rustlings/solutions/11_hashmaps/hashmaps2.rs4
-rw-r--r--rustlings/solutions/11_hashmaps/hashmaps3.rs4
-rw-r--r--rustlings/solutions/12_options/options1.rs4
-rw-r--r--rustlings/solutions/12_options/options2.rs4
-rw-r--r--rustlings/solutions/12_options/options3.rs4
-rw-r--r--rustlings/solutions/13_error_handling/errors1.rs4
-rw-r--r--rustlings/solutions/13_error_handling/errors2.rs4
-rw-r--r--rustlings/solutions/13_error_handling/errors3.rs4
-rw-r--r--rustlings/solutions/13_error_handling/errors4.rs4
-rw-r--r--rustlings/solutions/13_error_handling/errors5.rs4
-rw-r--r--rustlings/solutions/13_error_handling/errors6.rs4
-rw-r--r--rustlings/solutions/14_generics/generics1.rs4
-rw-r--r--rustlings/solutions/14_generics/generics2.rs4
-rw-r--r--rustlings/solutions/15_traits/traits1.rs4
-rw-r--r--rustlings/solutions/15_traits/traits2.rs4
-rw-r--r--rustlings/solutions/15_traits/traits3.rs4
-rw-r--r--rustlings/solutions/15_traits/traits4.rs4
-rw-r--r--rustlings/solutions/15_traits/traits5.rs4
-rw-r--r--rustlings/solutions/16_lifetimes/lifetimes1.rs4
-rw-r--r--rustlings/solutions/16_lifetimes/lifetimes2.rs4
-rw-r--r--rustlings/solutions/16_lifetimes/lifetimes3.rs4
-rw-r--r--rustlings/solutions/17_tests/tests1.rs4
-rw-r--r--rustlings/solutions/17_tests/tests2.rs4
-rw-r--r--rustlings/solutions/17_tests/tests3.rs4
-rw-r--r--rustlings/solutions/18_iterators/iterators1.rs4
-rw-r--r--rustlings/solutions/18_iterators/iterators2.rs4
-rw-r--r--rustlings/solutions/18_iterators/iterators3.rs4
-rw-r--r--rustlings/solutions/18_iterators/iterators4.rs4
-rw-r--r--rustlings/solutions/18_iterators/iterators5.rs4
-rw-r--r--rustlings/solutions/19_smart_pointers/arc1.rs4
-rw-r--r--rustlings/solutions/19_smart_pointers/box1.rs4
-rw-r--r--rustlings/solutions/19_smart_pointers/cow1.rs4
-rw-r--r--rustlings/solutions/19_smart_pointers/rc1.rs4
-rw-r--r--rustlings/solutions/20_threads/threads1.rs4
-rw-r--r--rustlings/solutions/20_threads/threads2.rs4
-rw-r--r--rustlings/solutions/20_threads/threads3.rs4
-rw-r--r--rustlings/solutions/21_macros/macros1.rs4
-rw-r--r--rustlings/solutions/21_macros/macros2.rs4
-rw-r--r--rustlings/solutions/21_macros/macros3.rs4
-rw-r--r--rustlings/solutions/21_macros/macros4.rs4
-rw-r--r--rustlings/solutions/22_clippy/clippy1.rs4
-rw-r--r--rustlings/solutions/22_clippy/clippy2.rs4
-rw-r--r--rustlings/solutions/22_clippy/clippy3.rs4
-rw-r--r--rustlings/solutions/23_conversions/as_ref_mut.rs4
-rw-r--r--rustlings/solutions/23_conversions/from_into.rs4
-rw-r--r--rustlings/solutions/23_conversions/from_str.rs4
-rw-r--r--rustlings/solutions/23_conversions/try_from_into.rs4
-rw-r--r--rustlings/solutions/23_conversions/using_as.rs4
-rw-r--r--rustlings/solutions/README.md6
-rw-r--r--rustlings/solutions/quizzes/quiz1.rs4
-rw-r--r--rustlings/solutions/quizzes/quiz2.rs4
-rw-r--r--rustlings/solutions/quizzes/quiz3.rs4
95 files changed, 382 insertions, 0 deletions
diff --git a/rustlings/solutions/00_intro/intro1.rs b/rustlings/solutions/00_intro/intro1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/00_intro/intro1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/00_intro/intro2.rs b/rustlings/solutions/00_intro/intro2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/00_intro/intro2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/01_variables/variables1.rs b/rustlings/solutions/01_variables/variables1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/01_variables/variables1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/01_variables/variables2.rs b/rustlings/solutions/01_variables/variables2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/01_variables/variables2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/01_variables/variables3.rs b/rustlings/solutions/01_variables/variables3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/01_variables/variables3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/01_variables/variables4.rs b/rustlings/solutions/01_variables/variables4.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/01_variables/variables4.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/01_variables/variables5.rs b/rustlings/solutions/01_variables/variables5.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/01_variables/variables5.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/01_variables/variables6.rs b/rustlings/solutions/01_variables/variables6.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/01_variables/variables6.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/02_functions/functions1.rs b/rustlings/solutions/02_functions/functions1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/02_functions/functions1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/02_functions/functions2.rs b/rustlings/solutions/02_functions/functions2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/02_functions/functions2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/02_functions/functions3.rs b/rustlings/solutions/02_functions/functions3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/02_functions/functions3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/02_functions/functions4.rs b/rustlings/solutions/02_functions/functions4.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/02_functions/functions4.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/02_functions/functions5.rs b/rustlings/solutions/02_functions/functions5.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/02_functions/functions5.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/03_if/if1.rs b/rustlings/solutions/03_if/if1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/03_if/if1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/03_if/if2.rs b/rustlings/solutions/03_if/if2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/03_if/if2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/03_if/if3.rs b/rustlings/solutions/03_if/if3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/03_if/if3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/04_primitive_types/primitive_types1.rs b/rustlings/solutions/04_primitive_types/primitive_types1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/04_primitive_types/primitive_types1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/04_primitive_types/primitive_types2.rs b/rustlings/solutions/04_primitive_types/primitive_types2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/04_primitive_types/primitive_types2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/04_primitive_types/primitive_types3.rs b/rustlings/solutions/04_primitive_types/primitive_types3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/04_primitive_types/primitive_types3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/04_primitive_types/primitive_types4.rs b/rustlings/solutions/04_primitive_types/primitive_types4.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/04_primitive_types/primitive_types4.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/04_primitive_types/primitive_types5.rs b/rustlings/solutions/04_primitive_types/primitive_types5.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/04_primitive_types/primitive_types5.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/04_primitive_types/primitive_types6.rs b/rustlings/solutions/04_primitive_types/primitive_types6.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/04_primitive_types/primitive_types6.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/05_vecs/vecs1.rs b/rustlings/solutions/05_vecs/vecs1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/05_vecs/vecs1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/05_vecs/vecs2.rs b/rustlings/solutions/05_vecs/vecs2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/05_vecs/vecs2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/06_move_semantics/move_semantics1.rs b/rustlings/solutions/06_move_semantics/move_semantics1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/06_move_semantics/move_semantics1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/06_move_semantics/move_semantics2.rs b/rustlings/solutions/06_move_semantics/move_semantics2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/06_move_semantics/move_semantics2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/06_move_semantics/move_semantics3.rs b/rustlings/solutions/06_move_semantics/move_semantics3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/06_move_semantics/move_semantics3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/06_move_semantics/move_semantics4.rs b/rustlings/solutions/06_move_semantics/move_semantics4.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/06_move_semantics/move_semantics4.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/06_move_semantics/move_semantics5.rs b/rustlings/solutions/06_move_semantics/move_semantics5.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/06_move_semantics/move_semantics5.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/07_structs/structs1.rs b/rustlings/solutions/07_structs/structs1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/07_structs/structs1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/07_structs/structs2.rs b/rustlings/solutions/07_structs/structs2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/07_structs/structs2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/07_structs/structs3.rs b/rustlings/solutions/07_structs/structs3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/07_structs/structs3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/08_enums/enums1.rs b/rustlings/solutions/08_enums/enums1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/08_enums/enums1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/08_enums/enums2.rs b/rustlings/solutions/08_enums/enums2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/08_enums/enums2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/08_enums/enums3.rs b/rustlings/solutions/08_enums/enums3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/08_enums/enums3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/09_strings/strings1.rs b/rustlings/solutions/09_strings/strings1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/09_strings/strings1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/09_strings/strings2.rs b/rustlings/solutions/09_strings/strings2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/09_strings/strings2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/09_strings/strings3.rs b/rustlings/solutions/09_strings/strings3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/09_strings/strings3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/09_strings/strings4.rs b/rustlings/solutions/09_strings/strings4.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/09_strings/strings4.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/10_modules/modules1.rs b/rustlings/solutions/10_modules/modules1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/10_modules/modules1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/10_modules/modules2.rs b/rustlings/solutions/10_modules/modules2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/10_modules/modules2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/10_modules/modules3.rs b/rustlings/solutions/10_modules/modules3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/10_modules/modules3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/11_hashmaps/hashmaps1.rs b/rustlings/solutions/11_hashmaps/hashmaps1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/11_hashmaps/hashmaps1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/11_hashmaps/hashmaps2.rs b/rustlings/solutions/11_hashmaps/hashmaps2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/11_hashmaps/hashmaps2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/11_hashmaps/hashmaps3.rs b/rustlings/solutions/11_hashmaps/hashmaps3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/11_hashmaps/hashmaps3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/12_options/options1.rs b/rustlings/solutions/12_options/options1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/12_options/options1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/12_options/options2.rs b/rustlings/solutions/12_options/options2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/12_options/options2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/12_options/options3.rs b/rustlings/solutions/12_options/options3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/12_options/options3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/13_error_handling/errors1.rs b/rustlings/solutions/13_error_handling/errors1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/13_error_handling/errors1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/13_error_handling/errors2.rs b/rustlings/solutions/13_error_handling/errors2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/13_error_handling/errors2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/13_error_handling/errors3.rs b/rustlings/solutions/13_error_handling/errors3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/13_error_handling/errors3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/13_error_handling/errors4.rs b/rustlings/solutions/13_error_handling/errors4.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/13_error_handling/errors4.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/13_error_handling/errors5.rs b/rustlings/solutions/13_error_handling/errors5.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/13_error_handling/errors5.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/13_error_handling/errors6.rs b/rustlings/solutions/13_error_handling/errors6.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/13_error_handling/errors6.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/14_generics/generics1.rs b/rustlings/solutions/14_generics/generics1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/14_generics/generics1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/14_generics/generics2.rs b/rustlings/solutions/14_generics/generics2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/14_generics/generics2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/15_traits/traits1.rs b/rustlings/solutions/15_traits/traits1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/15_traits/traits1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/15_traits/traits2.rs b/rustlings/solutions/15_traits/traits2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/15_traits/traits2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/15_traits/traits3.rs b/rustlings/solutions/15_traits/traits3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/15_traits/traits3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/15_traits/traits4.rs b/rustlings/solutions/15_traits/traits4.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/15_traits/traits4.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/15_traits/traits5.rs b/rustlings/solutions/15_traits/traits5.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/15_traits/traits5.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/16_lifetimes/lifetimes1.rs b/rustlings/solutions/16_lifetimes/lifetimes1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/16_lifetimes/lifetimes1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/16_lifetimes/lifetimes2.rs b/rustlings/solutions/16_lifetimes/lifetimes2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/16_lifetimes/lifetimes2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/16_lifetimes/lifetimes3.rs b/rustlings/solutions/16_lifetimes/lifetimes3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/16_lifetimes/lifetimes3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/17_tests/tests1.rs b/rustlings/solutions/17_tests/tests1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/17_tests/tests1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/17_tests/tests2.rs b/rustlings/solutions/17_tests/tests2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/17_tests/tests2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/17_tests/tests3.rs b/rustlings/solutions/17_tests/tests3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/17_tests/tests3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/18_iterators/iterators1.rs b/rustlings/solutions/18_iterators/iterators1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/18_iterators/iterators1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/18_iterators/iterators2.rs b/rustlings/solutions/18_iterators/iterators2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/18_iterators/iterators2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/18_iterators/iterators3.rs b/rustlings/solutions/18_iterators/iterators3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/18_iterators/iterators3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/18_iterators/iterators4.rs b/rustlings/solutions/18_iterators/iterators4.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/18_iterators/iterators4.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/18_iterators/iterators5.rs b/rustlings/solutions/18_iterators/iterators5.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/18_iterators/iterators5.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/19_smart_pointers/arc1.rs b/rustlings/solutions/19_smart_pointers/arc1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/19_smart_pointers/arc1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/19_smart_pointers/box1.rs b/rustlings/solutions/19_smart_pointers/box1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/19_smart_pointers/box1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/19_smart_pointers/cow1.rs b/rustlings/solutions/19_smart_pointers/cow1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/19_smart_pointers/cow1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/19_smart_pointers/rc1.rs b/rustlings/solutions/19_smart_pointers/rc1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/19_smart_pointers/rc1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/20_threads/threads1.rs b/rustlings/solutions/20_threads/threads1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/20_threads/threads1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/20_threads/threads2.rs b/rustlings/solutions/20_threads/threads2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/20_threads/threads2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/20_threads/threads3.rs b/rustlings/solutions/20_threads/threads3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/20_threads/threads3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/21_macros/macros1.rs b/rustlings/solutions/21_macros/macros1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/21_macros/macros1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/21_macros/macros2.rs b/rustlings/solutions/21_macros/macros2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/21_macros/macros2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/21_macros/macros3.rs b/rustlings/solutions/21_macros/macros3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/21_macros/macros3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/21_macros/macros4.rs b/rustlings/solutions/21_macros/macros4.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/21_macros/macros4.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/22_clippy/clippy1.rs b/rustlings/solutions/22_clippy/clippy1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/22_clippy/clippy1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/22_clippy/clippy2.rs b/rustlings/solutions/22_clippy/clippy2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/22_clippy/clippy2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/22_clippy/clippy3.rs b/rustlings/solutions/22_clippy/clippy3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/22_clippy/clippy3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/23_conversions/as_ref_mut.rs b/rustlings/solutions/23_conversions/as_ref_mut.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/23_conversions/as_ref_mut.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/23_conversions/from_into.rs b/rustlings/solutions/23_conversions/from_into.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/23_conversions/from_into.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/23_conversions/from_str.rs b/rustlings/solutions/23_conversions/from_str.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/23_conversions/from_str.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/23_conversions/try_from_into.rs b/rustlings/solutions/23_conversions/try_from_into.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/23_conversions/try_from_into.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/23_conversions/using_as.rs b/rustlings/solutions/23_conversions/using_as.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/23_conversions/using_as.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/README.md b/rustlings/solutions/README.md
new file mode 100644
index 0000000..5b5176b
--- /dev/null
+++ b/rustlings/solutions/README.md
@@ -0,0 +1,6 @@
+# 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.
diff --git a/rustlings/solutions/quizzes/quiz1.rs b/rustlings/solutions/quizzes/quiz1.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/quizzes/quiz1.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/quizzes/quiz2.rs b/rustlings/solutions/quizzes/quiz2.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/quizzes/quiz2.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}
diff --git a/rustlings/solutions/quizzes/quiz3.rs b/rustlings/solutions/quizzes/quiz3.rs
new file mode 100644
index 0000000..dcf2377
--- /dev/null
+++ b/rustlings/solutions/quizzes/quiz3.rs
@@ -0,0 +1,4 @@
+fn main() {
+ // DON'T EDIT THIS SOLUTION FILE!
+ // It will be automatically filled after you finish the exercise.
+}