1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2026-04-26 20:42:25 +02:00

711 Commits

Author SHA1 Message Date
Remo Senekowitsch 346753b673 Make starting fireworks more fun :) 2026-04-13 18:58:53 +02:00
Remo Senekowitsch 7c1d8ebf49 Make users type method syntax themselves in structs3
closes #2286
2026-04-05 22:23:47 +02:00
Rod Elias 45f789114b chore: minor improvements 2026-01-12 00:22:59 -03:00
mo8it b5d440fdc3 Fix clippy3 2025-11-20 12:49:27 +01:00
Marlon 8753dd6b2e Fixed typo in the exercieses README.md 2025-11-12 21:58:28 +01:00
Remo Senekowitsch d8f4b06c91 Remove use of map in early vecs2 exercise
Students do not have the necessary knowledge at this point to understand
what's happening with the iterator combinators. This topic is covered
well by the dedicated exercises about iterators later.

closes #2102
2025-09-24 21:19:40 +02:00
mo8it 628ef55337 Fix Clippy chapter 2025-08-21 23:46:37 +02:00
Mo Bitar 6765a0b61a Merge pull request #2255 from zeonzip/clarify_errors_4_return
Clarify how to find return type of error4
2025-08-21 23:46:14 +02:00
Mo Bitar 436c95f4cc Merge pull request #2262 from aCactusOrSomething/main
Fix incorrect book chapter number
2025-08-21 23:36:03 +02:00
deafloo 4f9f0907c3 Add positive tests
This prevents solving the exercise without a real IntegerOverflow
2025-07-21 12:13:32 +02:00
Hud Miller 3a2fe2c394 Fix incorrect book chapter number 2025-07-18 13:02:56 -05:00
zeonzip 278edc0b96 Clarify how to find return type of error4 2025-06-13 12:24:09 +02:00
Mo Bitar a99433c62d Merge pull request #2215 from Rudxain/strim
test idempotence of `trim_me` in `strings3.rs`
2025-05-13 16:23:35 +02:00
mo8it 48bab77609 Apply Clippy lints 2025-05-12 20:31:13 +02:00
Rahmat Nazali Salimi 7b2d42b0f0 Change icecream to ice cream 2025-04-10 15:38:43 +07:00
mo8it 63d8986f2a Update links 2025-04-03 18:22:55 +02:00
Mo Bitar 78194b4441 Merge pull request #2224 from cassian-goode/patch-1
Fix typo - errors5.rs
2025-04-03 17:52:57 +02:00
Hunter Z 9978c17d5f Update README.md
Update the URL while add more reference.
2025-03-31 12:58:06 +08:00
cassian-goode 3cc7e0377c Fix typo - errors5.rs
Minor typo correction in exercise instructions
2025-03-25 09:24:49 -04:00
Ricardo Fernández Serrata fcd77a83cc test trim idempotence 2025-03-07 19:17:11 -04:00
Mo Bitar ae444eb3da Merge pull request #2213 from peterneave/main
Use consistent apostrophes in markdown files
2025-03-02 17:30:29 +01:00
Peter Neave 425c9821e0 Use consistent apostrophes in markdown files 2025-02-28 11:46:39 +11:00
mo8it bde6f7470c Co-ordinates -> Coordinates 2024-12-28 16:46:24 +01:00
Joel Marcey 6e60f441e9 Fix argument comment in test of if2.rs 2024-12-13 10:44:21 -08:00
mo8it 38016cb2d6 clippy3: Make the intent more clear 2024-11-13 16:06:41 +01:00
Vincent Ging Ho Yim 6bec6f92c4 threads1: Fix typos in description 2024-10-22 16:53:23 +11:00
mo8it 0e090ae112 Add required type annotation 2024-10-17 14:49:07 +02:00
Polycarbohydrate bf7d171915 Update from_str.rs 2024-10-05 16:05:35 -04:00
Samuel Tardieu 2653c3c4d4 Do not use .as_bytes().len() on strings 2024-09-22 10:49:55 +02:00
Mo 64b2f18d92 Merge pull request #2103 from senekor/senk/kvuzvzqqkskk
Remove redundant enum definition task
2024-09-16 12:56:28 +02:00
Remo Senekowitsch b540c6df25 Make if2 less confusing
Some people would get stuck on this exercise, trying to understand the meaning
behind foo, fuzz, baz etc. Making the theme of the code make a little more sense
to humans should hopefully prevent people from getting confused by abstract and
non-sensical tests.
2024-09-14 10:03:52 +02:00
mo8it 0513660b05 Allow dead code for all exercises and solutions 2024-09-13 14:56:46 +02:00
Remo Senekowitsch 9a25309c1c Remove redundant enum definition task
The exercise enums2.rs already contains a task where an identical enum
has to be defined.
2024-09-11 16:57:12 +02:00
mo8it 423b50b068 Use match instead of comparison chain 2024-08-22 14:37:47 +02:00
mo8it d141a73493 threads3: Improve the test 2024-08-20 13:35:07 +02:00
mo8it ca5d5f0a49 Remove dot for copy-pasta 2024-08-17 15:45:02 +02:00
mo8it 69b4fd49fc Only take a u8 to avoid huge output 2024-08-17 14:59:00 +02:00
mo8it 36f315c344 Add "the" 2024-08-17 14:56:52 +02:00
mo8it 8016f5ca2d Remove unneeded comma 2024-08-17 14:55:58 +02:00
mo8it 8ef2ff1257 Remove "Hello and" 2024-08-17 14:54:13 +02:00
Mo 09c3ac02f8 Merge pull request #2062 from jimbo5922/jimbo5922-fix-hashmap3-struct-name
update struct name in hashmap3
2024-08-08 00:40:51 +02:00
Matt Nield 2128be8b28 chore: Fix snakecase convention in errors6.rs
Exercise errors6.rs prompts the user to add a method named `from_parseint`. This commit changes the method name to the corrected snakecase format, `from_parse_int`.
2024-08-04 02:36:45 -04:00
Yudai Kawabuchi dacdce1ea2 fix: update struct name in hashmap3 2024-08-01 09:47:50 +09:00
mo8it 5116a812fb tests3: Fix panic message 2024-07-22 12:02:59 +02:00
Mikkel ALMONTE--RINGAUD 3f06d767b5 fix: Lyche becomes Lychee
Small typo.
2024-07-16 17:20:26 +02:00
mo8it d176ddd27e Improve TODO comment 2024-07-12 16:29:41 +02:00
mo8it d7024d80ce move_semantics4: Avoid using the dereference operator 2024-07-10 13:50:39 +02:00
mo8it 59d6b852af move_semantics5: Move main to the end 2024-07-10 13:47:33 +02:00
mo8it 01343f187b Explain what a factorial is and link to wikipedia for more details 2024-07-08 16:29:43 +02:00
mo8it 69021e1497 Remove stable from book links 2024-07-08 16:00:12 +02:00