Commit Graph
146 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
Jatin Sanghvi 1ebb4d25a6 Update solution files to match exercise files 2025-12-19 19:32:24 +05:30
mo8it b5d440fdc3 Fix clippy3 2025-11-20 12:49:27 +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 b6b94e3e96 Sync solution 2025-08-21 23:46:37 +02:00
mo8it 9a3586878d Sync solution 2025-05-13 16:24:42 +02:00
mo8it 48bab77609 Apply Clippy lints 2025-05-12 20:31:13 +02:00
Clément Bœsch d2abc359cc Remove TODO from 2 solutions 2025-03-17 18:36:13 +01:00
mo8it 374c3874af Apply 2024 edition formatting to solutions 2025-02-21 13:08:34 +01:00
mo8it 65dc019fa6 Fix new Clippy error in solution 2025-02-18 20:15:50 +01:00
mo8it bde6f7470c Co-ordinates -> Coordinates 2024-12-28 16:46:24 +01:00
Antoine Dupuis fc0cd8f0f8 Switch comment style to // 2024-11-14 09:14:40 +01:00
Antoine Dupuis d5cae8ff59 Add alternative solution using From trait 2024-11-13 23:51:09 +01: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
mo8it f146553dea hashmap3: Use or_default 2024-10-17 14:49:07 +02:00
mo8it f516da4138 Avoid single char variables 2024-10-09 15:27:36 +02:00
Samuel Tardieu 2653c3c4d4 Do not use .as_bytes().len() on strings 2024-09-22 10:49:55 +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
mo8it 47976caa69 Import Ordering 2024-08-22 14:42:17 +02:00
mo8it f1abd8577c Add missing Clippy allows to solutions 2024-08-22 14:41:25 +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 69b4fd49fc Only take a u8 to avoid huge output 2024-08-17 14:59:00 +02:00
Chad DoughertyandGitHub ed9740b72c fix typo
Similarely -> Similarly in comment
2024-08-15 14:21:27 -04:00
mo8it ce3dcc9856 Fix typo 2024-08-09 12:47:32 +02:00
mo8it 693bb708b2 Add README to the solutions dir 2024-08-08 00:41:12 +02:00
MoandGitHub 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 NieldandGitHub 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 e65ae09789 fix format 2024-08-01 09:55:25 +09: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
mo8it 362473dde0 Sync exercise and solution 2024-07-16 18:21:07 +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 bf698659b0 Sync comment from exercise 2024-07-08 15:20:23 +02:00
mo8it a4091ade5c iterators3: Add IntegerOverflow error variant 2024-07-08 14:40:35 +02:00
mo8it 0f4cb94cfe quiz2: Use repeat 2024-07-07 20:28:31 +02:00
NitinKMandGitHub 5372caefb3 Update iterator sol in quiz2.rs 2024-07-07 23:19:38 +05:30
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 981a4778a9 Add newline between functions 2024-07-06 22:23:19 +02:00
mo8it 65834fc420 Improve quizes 2024-07-05 15:38:59 +02:00
mo8it db5911eb73 Use *= 2024-07-05 15:31:39 +02:00
mo8it 584164a6ff Adjust enums exercises 2024-07-05 14:11:03 +02:00
mo8it e6f6d26d13 Import enum variants in all tests 2024-07-05 13:45:14 +02:00
Nahor deed9d3943 Add alternative solution for iterators5 2024-07-04 16:35:39 -07:00