1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-15 00:04:58 +02:00
Commit Graph

310 Commits

Author SHA1 Message Date
251d0dda34 feat(iterators4): add factorial of zero test 2022-07-14 18:27:34 +02:00
3c63ef0668 fix(iterators3): insert todo!() into divide() to compile without error 2022-07-14 18:19:35 +02:00
cf9629cb0e feat: move box/arc behind iterators 2022-07-14 18:17:23 +02:00
016d718a28 feat(tests): add hint comments 2022-07-14 18:15:47 +02:00
98b8d3f17d feat(traits): add hint comments 2022-07-14 18:14:41 +02:00
5979d408a9 feat: move generics3 to be quiz3 2022-07-14 18:11:18 +02:00
d61f79595a feat(generics): add hint comments 2022-07-14 18:11:05 +02:00
c34e2adcbb feat(errors): Improve comments and hints 2022-07-14 18:02:33 +02:00
5e1ca4b995 fix(errors5): improve exercise instructions 2022-07-14 17:59:29 +02:00
582320aded chore(errors1): use is_empty() instead of len() > 0
more idiomatic according to clippy
2022-07-14 17:55:07 +02:00
b71feed824 feat(options): add hint comments 2022-07-14 17:53:42 +02:00
06e4fd3765 feat(options1): rewrite to remove array stuff 2022-07-14 17:53:27 +02:00
b644558c19 fix: rename option to options 2022-07-14 17:34:50 +02:00
472d7944f9 fix(quiz2): add hint comment 2022-07-14 17:30:43 +02:00
c64b340622 feat: rework quiz2 2022-07-14 13:24:15 +02:00
f443f4e7b3 feat: move quiz2 to be strings4 2022-07-14 13:01:40 +02:00
ab8572e15b fix(hashmaps): adjust hint comments 2022-07-14 12:58:28 +02:00
1e54bc61e8 feat: Add hashmap3 exercise. 2022-07-14 12:57:47 +02:00
fe54d0f85b fix(modules): adjust hint comments 2022-07-14 12:35:49 +02:00
c1ed6b10fe feat(strings): add strings3 2022-07-14 12:31:28 +02:00
f5e4c16eed feat(strings): move before modules 2022-07-14 12:18:21 +02:00
c6bc97adc1 feat(enums3): add hint comment, remove enums1 hint 2022-07-14 12:11:38 +02:00
886d599c96 fix(structs): add hint comments 2022-07-14 12:04:54 +02:00
4531c21bf1 fix(structs3): Add panic! statement into structs3
closes #685
2022-07-14 12:04:30 +02:00
4dffa0d10d fix(structs1): rename to unit-like struct 2022-07-14 12:00:46 +02:00
19bec50399 feat(structs1): convert structs to use i32 types 2022-07-14 11:59:29 +02:00
2e62505143 feat(move_semantics): finish updating comments 2022-07-12 15:43:26 +02:00
bb0cf92b8b feat(move_semantics): clarify some hints 2022-07-12 15:25:31 +02:00
7452d0d603 fix(primitive_types): clean up 2022-07-12 15:22:01 +02:00
3c4c9c54c9 feat: remove collections to hashmaps 2022-07-12 15:18:05 +02:00
2f7fd51304 feat: move vec exercises into their own folder 2022-07-12 15:16:25 +02:00
8e1f617d34 feat(vec): update vec exercises 2022-07-12 15:05:47 +02:00
7af12ba9aa feat(primitive_types): fixups 2022-07-12 14:54:12 +02:00
5812f1f27b fix(if2): Rename if2 exercise function to foo_if_fizz.
The reasoning here is pretty straightforward: you don't say "Hungry, if
eat." That doesn't make sense. We want to get "foo" back if given
"fizz", so it seems this makes far more sense as "Eat, if hungry," or in
this case, return `foo_if_fizz` is given.
2022-07-12 11:13:04 +02:00
4868d18ea3 feat(if): replace hints 2022-07-12 11:10:08 +02:00
742fb08e01 feat(functions): more small fixes 2022-07-12 11:08:29 +02:00
093a525450 fix(functions): clarify README wording 2022-07-11 14:00:12 +02:00
60410cfd2e fix(variables5): Add nudge for shadowing variable 2022-07-11 13:48:49 +02:00
81edc4234f fix(variables): reorder and redo hint texts 2022-07-11 13:43:41 +02:00
c3c21ad91f fix(intro): clarify hint usage 2022-07-11 13:35:16 +02:00
0ded8a90c0 feat(intro1): add more hints 2022-07-11 13:19:19 +02:00
ed0f278a8f chore: remove mod.rs files and exercises feature 2022-07-11 12:53:49 +02:00
be3944072c docs: Add missing exercise to book chapter mapping 2022-06-26 10:27:18 +08:00
1237aa574c Merge pull request #969 from Fointard/fointard_using_as
refactor(using_as): improve readability by using sum() instead of fold()
2022-04-20 09:15:22 +02:00
452ab26aa7 refactor(using_as): improve readability by using sum() instead of fold() 2022-04-19 17:37:00 +02:00
92a5d0037f refactor(arc1): improve readability by using functional style 2022-04-19 17:11:27 +02:00
51817820f2 Merge pull request #961 from J-S-Kim/main
fix(errors6.rs): remove one answer code
2022-04-14 10:44:22 +02:00
76a36dd385 chore: update errors1 comments and hint 2022-04-14 10:32:43 +02:00
60bb7cc393 Fix test (#958)
fix(errors1): don't modify tests
2022-04-14 10:25:44 +02:00
43d0623086 fix(errors6.rs): remove one answer code
Although marked as 'TODO', three tests pass without any implementation because the correct answer code already exists.
2022-04-09 01:23:58 +09:00