2653c3c4d4
Do not use .as_bytes().len()
on strings
2024-09-22 10:49:55 +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
47976caa69
Import Ordering
2024-08-22 14:42:17 +02:00
f1abd8577c
Add missing Clippy allows to solutions
2024-08-22 14:41:25 +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
69b4fd49fc
Only take a u8 to avoid huge output
2024-08-17 14:59:00 +02:00
ed9740b72c
fix typo
...
Similarely -> Similarly in comment
2024-08-15 14:21:27 -04:00
ce3dcc9856
Fix typo
2024-08-09 12:47:32 +02:00
693bb708b2
Add README to the solutions dir
2024-08-08 00:41:12 +02:00
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
e65ae09789
fix format
2024-08-01 09:55:25 +09: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
362473dde0
Sync exercise and solution
2024-07-16 18:21:07 +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
bf698659b0
Sync comment from exercise
2024-07-08 15:20:23 +02:00
a4091ade5c
iterators3: Add IntegerOverflow
error variant
2024-07-08 14:40:35 +02:00
0f4cb94cfe
quiz2: Use repeat
2024-07-07 20:28:31 +02:00
5372caefb3
Update iterator sol in quiz2.rs
2024-07-07 23:19:38 +05:30
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
981a4778a9
Add newline between functions
2024-07-06 22:23:19 +02:00
65834fc420
Improve quizes
2024-07-05 15:38:59 +02:00
db5911eb73
Use *=
2024-07-05 15:31:39 +02:00
584164a6ff
Adjust enums exercises
2024-07-05 14:11:03 +02:00
e6f6d26d13
Import enum variants in all tests
2024-07-05 13:45:14 +02:00
deed9d3943
Add alternative solution for iterators5
2024-07-04 16:35:39 -07:00
b017b87866
Fix typo
2024-07-04 13:38:41 +02:00
b87aa98634
Fix warnings
2024-07-04 13:38:35 +02:00
d54c050985
Improve a comment in errors2
2024-07-04 13:03:05 +02:00
248dd4415e
Add comment to options1
2024-07-04 13:00:04 +02:00
dec6772b05
Improve the comment of arc1
2024-07-04 12:58:04 +02:00
a72c26bdc3
Fix solution of options1 for stable Rust
2024-07-03 17:53:30 +02:00
825637f32c
as_ref_mut solution
2024-07-02 01:35:38 +02:00
8ef5d10da2
Import the error variants in the tests
2024-07-02 01:29:30 +02:00
5217cdc5e2
try_from_into solution
2024-07-02 01:26:09 +02:00
e3c8c457ba
from_str solution
2024-07-02 01:03:55 +02:00
cddaf4881e
from_into solution
2024-07-01 22:09:48 +02:00
428d64ffa0
using_as solution
2024-07-01 21:41:22 +02:00
09c94bef2d
clippy3 solution
2024-07-01 12:09:52 +02:00
a0e810b471
clippy2 solution
2024-07-01 11:55:18 +02:00
78728d5238
clippy1 solution
2024-07-01 11:54:35 +02:00
cc2c0958c9
macros4 solution
2024-07-01 11:54:05 +02:00
4cb15a4cda
macros3 solution
2024-07-01 11:37:48 +02:00
9845e046de
macros2 solution
2024-07-01 11:31:37 +02:00
cf90364fd7
macros1 solution
2024-07-01 11:28:38 +02:00