From c2455bc676dcdf3628a529cb1193e2f48fdbd195 Mon Sep 17 00:00:00 2001 From: Oleksii Khilkevych Date: Sun, 7 Sep 2025 15:28:12 +0200 Subject: [PATCH 1/8] Added rustlings in Ukrainian --- website/content/community-exercises/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/website/content/community-exercises/index.md b/website/content/community-exercises/index.md index 0f713d7cc7..8766783a70 100644 --- a/website/content/community-exercises/index.md +++ b/website/content/community-exercises/index.md @@ -6,6 +6,7 @@ title = "Community Exercises" - πŸ‡―πŸ‡΅ [Japanese Rustlings](https://github.com/sotanengel/rustlings-jp):A Japanese translation of the Rustlings exercises. - πŸ‡¨πŸ‡³ [Simplified Chinese Rustlings](https://github.com/SandmeyerX/rustlings-zh-cn): A simplified Chinese translation of the Rustlings exercises. +- πŸ‡ΊπŸ‡¦ [Rustlings in Ukrainian](https://github.com/noroutine/rustlings-ua): Translation of the Rustlings exercises in Ukrainian. > You can use the same `rustlings` program that you installed with `cargo install rustlings` to run community exercises. From de695c46f370f7628608c6efbe610c8b8bc5d44c Mon Sep 17 00:00:00 2001 From: Dipan Chakraborty Date: Tue, 10 Feb 2026 19:00:41 +0530 Subject: [PATCH 2/8] docs: add str and String documentation links --- exercises/09_strings/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exercises/09_strings/README.md b/exercises/09_strings/README.md index fa2104cc37..58b50e1ef7 100644 --- a/exercises/09_strings/README.md +++ b/exercises/09_strings/README.md @@ -6,4 +6,6 @@ to identify and create them, as well as use them. ## Further information -- [Strings](https://doc.rust-lang.org/book/ch08-02-strings.html) +- [Strings (Rust Book)](https://doc.rust-lang.org/book/ch08-02-strings.html) +- [`str` methods](https://doc.rust-lang.org/std/primitive.str.html) +- [`String` methods](https://doc.rust-lang.org/std/string/struct.String.html) From 3a00274335be26c82c4045e7ec7154a79380b410 Mon Sep 17 00:00:00 2001 From: "cheoleon (pstor)" <26815428+eoncheole@users.noreply.github.com> Date: Thu, 12 Feb 2026 17:44:49 +0900 Subject: [PATCH 3/8] docs: add Korean Rustlings to community exercises list --- website/content/community-exercises/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/website/content/community-exercises/index.md b/website/content/community-exercises/index.md index 0f713d7cc7..b87d02c8d5 100644 --- a/website/content/community-exercises/index.md +++ b/website/content/community-exercises/index.md @@ -6,6 +6,7 @@ title = "Community Exercises" - πŸ‡―πŸ‡΅ [Japanese Rustlings](https://github.com/sotanengel/rustlings-jp):A Japanese translation of the Rustlings exercises. - πŸ‡¨πŸ‡³ [Simplified Chinese Rustlings](https://github.com/SandmeyerX/rustlings-zh-cn): A simplified Chinese translation of the Rustlings exercises. +- πŸ‡°πŸ‡· [Korean Rustlings](https://github.com/eoncheole/rustlings-kr): A Korean translation of the Rustlings exercises. > You can use the same `rustlings` program that you installed with `cargo install rustlings` to run community exercises. From 4817abcc1476e2d57965d19095d24ff805ba851c Mon Sep 17 00:00:00 2001 From: Piotr Spieker Date: Thu, 12 Feb 2026 11:56:25 +0100 Subject: [PATCH 4/8] Mention struct-like variants in enums2 hint instead of anonymous structs --- rustlings-macros/info.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index ca3ecf1f03..dd1f04be01 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -440,7 +440,7 @@ dir = "08_enums" test = false hint = """ You can create enumerations that have different variants with different types -such as anonymous structs, structs, a single string, tuples, no data, etc.""" +such as struct-like variants, regular structs, a single string, tuples, no data, etc.""" [[exercises]] name = "enums3" From 5464fcd7e60c3cfd255faef3165eb65081da7b00 Mon Sep 17 00:00:00 2001 From: Tyler Breisacher Date: Thu, 16 Apr 2026 19:21:08 -0700 Subject: [PATCH 5/8] Add a note about offline stdlib docs --- website/content/setup/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/content/setup/index.md b/website/content/setup/index.md index 54551ada7c..a67e2809e8 100644 --- a/website/content/setup/index.md +++ b/website/content/setup/index.md @@ -73,6 +73,10 @@ While working with Rustlings, please use a modern terminal for the best user exp The default terminal on Linux and Mac should be sufficient. On Windows, we recommend the [Windows Terminal](https://aka.ms/terminal). +### Offline documentation (optional) + +If you are going to be working on Rustlings while offline, you may want to run `rustup doc --std` to make the standard library documentation available on your machine. + ## Usage After being done with the setup, visit the [**usage**](@/usage/index.md) page for some info about using Rustlings πŸš€ From 013a88a1e629213bf060c6acf798afd5e4f9b9f1 Mon Sep 17 00:00:00 2001 From: Tyler Breisacher Date: Fri, 17 Apr 2026 21:05:13 -0700 Subject: [PATCH 6/8] new wording from @senekor --- website/content/setup/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/setup/index.md b/website/content/setup/index.md index a67e2809e8..8147ff56a9 100644 --- a/website/content/setup/index.md +++ b/website/content/setup/index.md @@ -73,9 +73,9 @@ While working with Rustlings, please use a modern terminal for the best user exp The default terminal on Linux and Mac should be sufficient. On Windows, we recommend the [Windows Terminal](https://aka.ms/terminal). -### Offline documentation (optional) +### Offline documentation -If you are going to be working on Rustlings while offline, you may want to run `rustup doc --std` to make the standard library documentation available on your machine. +Whenever you're working on Rustlings offline, you can access a local copy of the standard library documentation by running `rustup doc --std`. ## Usage From f9f8a37bc72bd0ac6562545e966e4d8cb26bc4d1 Mon Sep 17 00:00:00 2001 From: Piotr Spieker Date: Thu, 30 Apr 2026 12:05:38 +0200 Subject: [PATCH 7/8] Improve the list of enum variants in enums2 hint --- rustlings-macros/info.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index dd1f04be01..735d131ddb 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -440,7 +440,7 @@ dir = "08_enums" test = false hint = """ You can create enumerations that have different variants with different types -such as struct-like variants, regular structs, a single string, tuples, no data, etc.""" +such as struct-like, tuple-like and unit-only variants.""" [[exercises]] name = "enums3" From 124708acd93a4a48272e1f7a953fe62c9a2ffa09 Mon Sep 17 00:00:00 2001 From: Remo Senekowitsch Date: Sun, 3 May 2026 14:54:27 +0200 Subject: [PATCH 8/8] Use slice instead of array in iterator1 This avoids confusion between `.into_iter()` and `.iter()`. On a slice, both methods do the same (correct) thing. Using `.into_iter()` will result in a clippy warning about the slice not being consumed. --- exercises/18_iterators/iterators1.rs | 4 ++-- solutions/18_iterators/iterators1.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exercises/18_iterators/iterators1.rs b/exercises/18_iterators/iterators1.rs index ca937ed00e..8014f0f1ca 100644 --- a/exercises/18_iterators/iterators1.rs +++ b/exercises/18_iterators/iterators1.rs @@ -10,9 +10,9 @@ fn main() { mod tests { #[test] fn iterators() { - let my_fav_fruits = ["banana", "custard apple", "avocado", "peach", "raspberry"]; + let my_fav_fruits = &["banana", "custard apple", "avocado", "peach", "raspberry"]; - // TODO: Create an iterator over the array. + // TODO: Create an iterator over the slice. let mut fav_fruits_iterator = todo!(); assert_eq!(fav_fruits_iterator.next(), Some(&"banana")); diff --git a/solutions/18_iterators/iterators1.rs b/solutions/18_iterators/iterators1.rs index 93a6008aa5..79977fa46d 100644 --- a/solutions/18_iterators/iterators1.rs +++ b/solutions/18_iterators/iterators1.rs @@ -10,9 +10,9 @@ fn main() { mod tests { #[test] fn iterators() { - let my_fav_fruits = ["banana", "custard apple", "avocado", "peach", "raspberry"]; + let my_fav_fruits = &["banana", "custard apple", "avocado", "peach", "raspberry"]; - // Create an iterator over the array. + // Create an iterator over the slice. let mut fav_fruits_iterator = my_fav_fruits.iter(); assert_eq!(fav_fruits_iterator.next(), Some(&"banana"));