Commit graph

671 commits

Author SHA1 Message Date
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
mo8it
d54c050985 Improve a comment in errors2 2024-07-04 13:03:05 +02:00
mo8it
248dd4415e Add comment to options1 2024-07-04 13:00:04 +02:00
mo8it
dec6772b05 Improve the comment of arc1 2024-07-04 12:58:04 +02:00
Calvin Bochulak
c1d5252b87
fix: typo s/unwarp/unwrap/ 2024-07-03 23:20:59 -06:00
mo8it
ff3e6c05a5 Merge branch 'main' 2024-07-03 15:26:05 +02:00
Yung Beef 4.2
fa452b3a93
Update README.md 2024-07-02 18:30:54 -03:00
mo8it
d3a0c26999 Improve the placement of TODO comments 2024-07-02 16:26:28 +02:00
mo8it
6cf75d569b Fix typos 2024-07-02 14:28:08 +02:00
mo8it
825637f32c as_ref_mut solution 2024-07-02 01:35:38 +02:00
mo8it
8ef5d10da2 Import the error variants in the tests 2024-07-02 01:29:30 +02:00
mo8it
5217cdc5e2 try_from_into solution 2024-07-02 01:26:09 +02:00
mo8it
e3c8c457ba from_str solution 2024-07-02 01:03:55 +02:00
mo8it
cddaf4881e from_into solution 2024-07-01 22:09:48 +02:00
mo8it
428d64ffa0 using_as solution 2024-07-01 21:41:22 +02:00
mo8it
09c94bef2d clippy3 solution 2024-07-01 12:09:52 +02:00
mo8it
a0e810b471 clippy2 solution 2024-07-01 11:55:18 +02:00
mo8it
78728d5238 clippy1 solution 2024-07-01 11:54:35 +02:00