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
mo8it
2d5d70693a
errors3: Add a comment to prevent changing the wrong line
2024-07-08 15:05:58 +02:00
mo8it
a4091ade5c
iterators3: Add IntegerOverflow
error variant
2024-07-08 14:40:35 +02:00
mo8it
9d7b973a62
Improve the comments in cow1
2024-07-07 17:03:00 +02:00
mo8it
708cfef3f7
enums3: Avoid confusion with parentheses
2024-07-07 15:29:05 +02:00
mo8it
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
Yerkebulan Tulibergenov
1499f681a3
Fix formatting in strings4.rs
2024-07-06 12:53:14 -07:00
Yerkebulan Tulibergenov
a21fa6ff40
Fix typo in structs3.rs
2024-07-06 12:37:55 -07:00
Matt Nield
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
mo8it
65834fc420
Improve quizes
2024-07-05 15:38:59 +02:00
mo8it
f5a4965de7
Improve wording in quiz1
2024-07-05 15:38:33 +02:00
Matt Nield
2f4e63b443
fix: Add clarification to instructions for hashmaps2.rs
...
In the instructions for hashmaps2.rs, the last sentence of the include the phrase "these fruits", which refers to fruits that were mentioned two sentences prior.
Having a sentence in between the first sentence in which the fruits were described and a later sentence in which the phrase "these fruits" is used makes this confusing to read, since the phrase "these fruits" does not come immediately after the mention of the fruits that the phrase refers to.
This pull request expands the last sentence to explicitly refer to the fruits being mentioned, in order to add clarity about the requirement of the exercise.
2024-07-05 08:27:51 -04:00
mo8it
584164a6ff
Adjust enums exercises
2024-07-05 14:11:03 +02:00
mo8it
7123c7ae3a
Merge remote-tracking branch 'upstream/main' into fix-enum-variant-inconsistency
2024-07-05 13:39:50 +02:00
Nahor
a33501e6a7
Unify fn signature in iterators4 exercise and solution
...
Since this is not about conversion, prefer the option that doesn't
require one.
2024-07-04 14:23:34 -07:00
Nahor
4cd0ccce83
Fix misleading test name
2024-07-04 11:58:09 -07:00
mo8it
74831dd88f
Add TODO
2024-07-04 19:46:43 +02:00
mo8it
0b220f9fff
Fix clippy1
2024-07-04 19:46:43 +02:00
Ramkumar
0524632199
fix move_semantics5 to change misleading compiler error
2024-07-04 18:48:09 +05:30
mo8it
b87aa98634
Fix warnings
2024-07-04 13:38:35 +02:00
mo8it
a4c07ca948
Improve the comment in intro1
2024-07-04 13:10:18 +02:00
mo8it
b8826dd3b3
Remove comment about removing a semicolon
2024-07-04 13:08:59 +02:00