summaryrefslogtreecommitdiff
path: root/exercises
AgeCommit message (Collapse)Author
2024-10-17Add required type annotationmo8it
2024-10-05Update from_str.rsPolycarbohydrate
2024-09-22Do not use `.as_bytes().len()` on stringsSamuel Tardieu
2024-09-16Merge pull request #2103 from senekor/senk/kvuzvzqqkskkMo
Remove redundant enum definition task
2024-09-14Make if2 less confusingRemo Senekowitsch
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-13Allow dead code for all exercises and solutionsmo8it
2024-09-11Remove redundant enum definition taskRemo Senekowitsch
The exercise enums2.rs already contains a task where an identical enum has to be defined.
2024-08-22Use match instead of comparison chainmo8it
2024-08-20threads3: Improve the testmo8it
2024-08-17Remove dot for copy-pastamo8it
2024-08-17Only take a u8 to avoid huge outputmo8it
2024-08-17Add "the"mo8it
2024-08-17Remove unneeded commamo8it
2024-08-17Remove "Hello and"mo8it
2024-08-08Merge pull request #2062 from jimbo5922/jimbo5922-fix-hashmap3-struct-nameMo
update struct name in hashmap3
2024-08-04chore: Fix snakecase convention in errors6.rsMatt Nield
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-01fix: update struct name in hashmap3Yudai Kawabuchi
2024-07-22tests3: Fix panic messagemo8it
2024-07-16fix: Lyche becomes LycheeMikkel ALMONTE--RINGAUD
Small typo.
2024-07-12Improve TODO commentmo8it
2024-07-10move_semantics4: Avoid using the dereference operatormo8it
2024-07-10move_semantics5: Move `main` to the endmo8it
2024-07-08Explain what a factorial is and link to wikipedia for more detailsmo8it
2024-07-08Remove stable from book linksmo8it
2024-07-08errors3: Add a comment to prevent changing the wrong linemo8it
2024-07-08iterators3: Add `IntegerOverflow` error variantmo8it
2024-07-07Improve the comments in cow1mo8it
2024-07-07enums3: Avoid confusion with parenthesesmo8it
2024-07-06Add commamo8it
2024-07-06Merge pull request #2027 from yerke/patch-2Mo
Fix formatting in strings4.rs
2024-07-06Fix formatting in strings4.rsYerkebulan Tulibergenov
2024-07-06Fix typo in structs3.rsYerkebulan Tulibergenov
2024-07-05chore: Update errors5.rs exercise to be consistent with solutionMatt Nield
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-05Merge pull request #2021 from matthewjnield/mainMo
fix: Add clarification to instructions for hashmaps2.rs
2024-07-05Improve quizesmo8it
2024-07-05Improve wording in quiz1mo8it
2024-07-05fix: Add clarification to instructions for hashmaps2.rsMatt Nield
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-05Adjust enums exercisesmo8it
2024-07-05Merge remote-tracking branch 'upstream/main' into fix-enum-variant-inconsistencymo8it
2024-07-04Unify fn signature in iterators4 exercise and solutionNahor
Since this is not about conversion, prefer the option that doesn't require one.
2024-07-04Fix misleading test nameNahor
2024-07-04Add TODOmo8it
2024-07-04Fix clippy1mo8it
2024-07-04fix move_semantics5 to change misleading compiler errorRamkumar
2024-07-04Fix warningsmo8it
2024-07-04Improve the comment in intro1mo8it
2024-07-04Remove comment about removing a semicolonmo8it
2024-07-04Improve a comment in errors2mo8it
2024-07-04Add comment to options1mo8it
2024-07-04Improve the comment of arc1mo8it