1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-15 00:04:58 +02:00

699 Commits

Author SHA1 Message Date
a99433c62d Merge pull request #2215 from Rudxain/strim
test idempotence of `trim_me` in `strings3.rs`
2025-05-13 16:23:35 +02:00
48bab77609 Apply Clippy lints 2025-05-12 20:31:13 +02:00
7b2d42b0f0 Change icecream to ice cream 2025-04-10 15:38:43 +07:00
63d8986f2a Update links 2025-04-03 18:22:55 +02:00
78194b4441 Merge pull request #2224 from cassian-goode/patch-1
Fix typo - errors5.rs
2025-04-03 17:52:57 +02:00
9978c17d5f Update README.md
Update the URL while add more reference.
2025-03-31 12:58:06 +08:00
3cc7e0377c Fix typo - errors5.rs
Minor typo correction in exercise instructions
2025-03-25 09:24:49 -04:00
fcd77a83cc test trim idempotence 2025-03-07 19:17:11 -04:00
ae444eb3da Merge pull request #2213 from peterneave/main
Use consistent apostrophes in markdown files
2025-03-02 17:30:29 +01:00
425c9821e0 Use consistent apostrophes in markdown files 2025-02-28 11:46:39 +11:00
bde6f7470c Co-ordinates -> Coordinates 2024-12-28 16:46:24 +01:00
6e60f441e9 Fix argument comment in test of if2.rs 2024-12-13 10:44:21 -08:00
38016cb2d6 clippy3: Make the intent more clear 2024-11-13 16:06:41 +01:00
6bec6f92c4 threads1: Fix typos in description 2024-10-22 16:53:23 +11:00
0e090ae112 Add required type annotation 2024-10-17 14:49:07 +02:00
bf7d171915 Update from_str.rs 2024-10-05 16:05:35 -04:00
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
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
0513660b05 Allow dead code for all exercises and solutions 2024-09-13 14:56:46 +02:00
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
423b50b068 Use match instead of comparison chain 2024-08-22 14:37:47 +02:00
d141a73493 threads3: Improve the test 2024-08-20 13:35:07 +02:00
ca5d5f0a49 Remove dot for copy-pasta 2024-08-17 15:45:02 +02:00
69b4fd49fc Only take a u8 to avoid huge output 2024-08-17 14:59:00 +02:00
36f315c344 Add "the" 2024-08-17 14:56:52 +02:00
8016f5ca2d Remove unneeded comma 2024-08-17 14:55:58 +02:00
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
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
dacdce1ea2 fix: update struct name in hashmap3 2024-08-01 09:47:50 +09:00
5116a812fb tests3: Fix panic message 2024-07-22 12:02:59 +02:00
3f06d767b5 fix: Lyche becomes Lychee
Small typo.
2024-07-16 17:20:26 +02:00
d176ddd27e Improve TODO comment 2024-07-12 16:29:41 +02:00
d7024d80ce move_semantics4: Avoid using the dereference operator 2024-07-10 13:50:39 +02:00
59d6b852af move_semantics5: Move main to the end 2024-07-10 13:47:33 +02:00
01343f187b Explain what a factorial is and link to wikipedia for more details 2024-07-08 16:29:43 +02:00
69021e1497 Remove stable from book links 2024-07-08 16:00:12 +02:00
2d5d70693a errors3: Add a comment to prevent changing the wrong line 2024-07-08 15:05:58 +02:00
a4091ade5c iterators3: Add IntegerOverflow error variant 2024-07-08 14:40:35 +02:00
9d7b973a62 Improve the comments in cow1 2024-07-07 17:03:00 +02:00
708cfef3f7 enums3: Avoid confusion with parentheses 2024-07-07 15:29:05 +02:00
5d4363d58d Add comma 2024-07-06 22:22:52 +02:00
Mo
48697b8225 Merge pull request #2027 from yerke/patch-2
Fix formatting in strings4.rs
2024-07-06 22:22:27 +02:00
1499f681a3 Fix formatting in strings4.rs 2024-07-06 12:53:14 -07:00
a21fa6ff40 Fix typo in structs3.rs 2024-07-06 12:37:55 -07:00
fdada8b3d4 chore: Update errors5.rs exercise to be consistent with solution
In errors5.rs, there are two lines of a pattern matching block for which the order is reversed between the exercise file and the solution file. Since these lines are not changed as part of the exercise, this commit updates the exercise to make the order of the lines consistent with the solution, so that users will focus only on the lines that change between the exercise and the solution.
2024-07-05 16:04:07 -04:00
Mo
9e2ff7d037 Merge pull request #2021 from matthewjnield/main
fix: Add clarification to instructions for hashmaps2.rs
2024-07-05 15:52:20 +02:00
65834fc420 Improve quizes 2024-07-05 15:38:59 +02:00
f5a4965de7 Improve wording in quiz1 2024-07-05 15:38:33 +02:00