Magnus Markling
291da61fda
Add quotes
2 years ago
Magnus Markling
94bdb708fe
Add quotes
2 years ago
Kody Low
d6e26bb350
2nd assert is for greater than or equal to, not "more than" like it says in the instructions
2 years ago
magnusrodseth
99ea2cbba7
chore: make options2 not compile deliberately
2 years ago
magnusrodseth
52a29aa84b
test: Convert main function to working tests
2 years ago
vostok92
4455c22b9a
Update options1.rs
...
Fix assertions
2 years ago
liv
1c3b003c7c
Merge branch 'main' into rc-exercise
2 years ago
liv
25ab52b8e7
Merge pull request #1103 from exdx/feat/cow
...
feat: add cow1.rs exercise
2 years ago
Nico Vromans
e8122daa87
Update options1.rs
...
Added extra test for before 10PM and updated the test for at 10PM (when it's 10PM there should already not be any ice cream left, as per the description). Also fixed the `raw_value` test, as it is later than 10PM, so there should be no more ice cream left.
2 years ago
Markus Boehme
3c84cc1702
fix(options1): remove unused code
...
Since rewriting the exercise in commit 06e4fd3765
the print_number
function goes unused. Remove it.
2 years ago
liv
26b347a8bd
Merge pull request #1131 from johnmendel/main
...
fix(traits5): make exercise prefer trait-based solution
2 years ago
liv
a7ca40d8a3
Merge pull request #1132 from brianfakhoury/patch-1
...
Fix minor spelling
2 years ago
Mouwrice
ef70ad907f
fix(macros-readme): update the book link to the more recent version of the book
2 years ago
Brian Fakhoury
f25f77e915
Fix minor spelling
2 years ago
John Mendelewski III
a0a06232ce
fix(traits5): make exercise prefer trait-based solution
...
closes #1088
2 years ago
liv
affc815447
Merge pull request #1112 from tvkn/feat/options1/update-expected-result
...
feat(options1): update expected result
2 years ago
mokou
af301a2efe
feat(errors5): add simpler explanation for box dyn
2 years ago
Lioness100
c5ecc37a9a
refactor(box1): prefer todo! over unimplemented!
2 years ago
Tristan Nicholls
a56f648cce
feat(options1): update expected result
...
Expected result is updated to better showcase the difference between
- a valid result with no ice-creams `Some(0)`, and
- an invalid result `None`.
2 years ago
Denton24646
72e21a2a6c
feat: add cow1.rs exercise
2 years ago
Tostapunk
7035d6787c
fix(traits5.rs): wrong line number
2 years ago
Denton24646
ce86d252e5
feat: add rc1.rs exercise
2 years ago
wojexe
b0e070c743
fix(traits4.rs): wrong line number
...
fixes #1067
2 years ago
wojexe
55900c65cb
fix: make strings3.rs comment wording more clear
...
fixes #1063
2 years ago
mokou
5138f22e00
doc: update book links
2 years ago
Neil Pate
c265b681b1
fix(quiz1): change function name
2 years ago
mokou
1a7a3f5c8e
fix(traits): update hint comments
2 years ago
Sam White
63b0c7e399
feat: add traits5.rs exercise
2 years ago
Sam White
599d634ee2
feat: Add traits4.rs exercise
2 years ago
Sam White
f43c6d7877
feat: Add traits3.rs exercise
2 years ago
Rod Elias
9b66b2a0e9
fix(try_from_into): fix function name
2 years ago
jayber
1ef8dacaf6
feat: add lifetimes exercises
2 years ago
exdx
a3b5278b42
feat: add threads3.rs exercise
2 years ago
mokou
a3c4c1ccb4
fix: re-add missing done comments
2 years ago
mokou
b609f0431c
feat: remove advanced_errs
2 years ago
mokou
4bebdb5f02
feat(as_ref_mut): add AsMut section
2 years ago
mokou
81d25aecff
feat(try_from_into): add hint comments
2 years ago
mokou
74f44f55e3
feat(conversions): add hint comments
2 years ago
mokou
8cfedb1673
feat(clippy): add clippy3
2 years ago
mokou
7fc393bed4
chore: remove quiz4
2 years ago
mokou
d3a335bc64
feat(macros): add hint comments
2 years ago
mokou
f99eafc56f
fix(threads): add hint comments
2 years ago
jaystile
b4f52cb937
feat: Adding threads1.rs with a focus on JoinHandles and waiting for
...
spawned threads to finish. Moved the original threads1.rs to threads2.rs
with the focus on the Mutex and modifying shared data. #892
2 years ago
mokou
20024d40c5
feat(iterators): update hint comments
2 years ago
Paulo Gabriel Justino Bezerra
251d0dda34
feat(iterators4): add factorial of zero test
2 years ago
Ryosuke YASUOKA
3c63ef0668
fix(iterators3): insert todo!() into divide() to compile without error
2 years ago
mokou
cf9629cb0e
feat: move box/arc behind iterators
2 years ago
mokou
016d718a28
feat(tests): add hint comments
2 years ago
mokou
98b8d3f17d
feat(traits): add hint comments
2 years ago
mokou
5979d408a9
feat: move generics3 to be quiz3
2 years ago
mokou
d61f79595a
feat(generics): add hint comments
2 years ago
mokou
c34e2adcbb
feat(errors): Improve comments and hints
2 years ago
Noah Cairns
5e1ca4b995
fix(errors5): improve exercise instructions
2 years ago
Steven nguyen
582320aded
chore(errors1): use `is_empty()` instead of `len() > 0`
...
more idiomatic according to clippy
2 years ago
mokou
b71feed824
feat(options): add hint comments
2 years ago
mokou
06e4fd3765
feat(options1): rewrite to remove array stuff
2 years ago
mokou
b644558c19
fix: rename option to options
2 years ago
mokou
472d7944f9
fix(quiz2): add hint comment
2 years ago
mokou
c64b340622
feat: rework quiz2
2 years ago
mokou
f443f4e7b3
feat: move quiz2 to be strings4
2 years ago
mokou
ab8572e15b
fix(hashmaps): adjust hint comments
2 years ago
Sateesh Basavaraju
1e54bc61e8
feat: Add hashmap3 exercise.
2 years ago
mokou
fe54d0f85b
fix(modules): adjust hint comments
2 years ago
mokou
c1ed6b10fe
feat(strings): add strings3
2 years ago
mokou
f5e4c16eed
feat(strings): move before modules
2 years ago
mokou
c6bc97adc1
feat(enums3): add hint comment, remove enums1 hint
2 years ago
mokou
886d599c96
fix(structs): add hint comments
2 years ago
camperdue42
4531c21bf1
fix(structs3): Add panic! statement into structs3
...
closes #685
2 years ago
mokou
4dffa0d10d
fix(structs1): rename to unit-like struct
2 years ago
mokou
19bec50399
feat(structs1): convert structs to use i32 types
2 years ago
mokou
2e62505143
feat(move_semantics): finish updating comments
2 years ago
mokou
bb0cf92b8b
feat(move_semantics): clarify some hints
2 years ago
mokou
7452d0d603
fix(primitive_types): clean up
2 years ago
mokou
3c4c9c54c9
feat: remove collections to hashmaps
2 years ago
mokou
2f7fd51304
feat: move vec exercises into their own folder
2 years ago
mokou
8e1f617d34
feat(vec): update vec exercises
2 years ago
mokou
7af12ba9aa
feat(primitive_types): fixups
2 years ago
Adam Sherwood
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.
2 years ago
mokou
4868d18ea3
feat(if): replace hints
2 years ago
mokou
742fb08e01
feat(functions): more small fixes
2 years ago
mokou
093a525450
fix(functions): clarify README wording
2 years ago
gavin
60410cfd2e
fix(variables5): Add nudge for shadowing variable
2 years ago
mokou
81edc4234f
fix(variables): reorder and redo hint texts
2 years ago
mokou
c3c21ad91f
fix(intro): clarify hint usage
2 years ago
mokou
0ded8a90c0
feat(intro1): add more hints
2 years ago
mokou
ed0f278a8f
chore: remove mod.rs files and exercises feature
2 years ago
0pling
be3944072c
docs: Add missing exercise to book chapter mapping
2 years ago
diannasoreil
1237aa574c
Merge pull request #969 from Fointard/fointard_using_as
...
refactor(using_as): improve readability by using sum() instead of fold()
2 years ago
fointard
452ab26aa7
refactor(using_as): improve readability by using sum() instead of fold()
2 years ago
fointard
92a5d0037f
refactor(arc1): improve readability by using functional style
2 years ago
diannasoreil
51817820f2
Merge pull request #961 from J-S-Kim/main
...
fix(errors6.rs): remove one answer code
2 years ago
mokou
76a36dd385
chore: update errors1 comments and hint
2 years ago
stevenfukase
60bb7cc393
Fix test ( #958 )
...
fix(errors1): don't modify tests
2 years ago
J-S-Kim
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.
2 years ago
ragreenburg
89650f808a
fix(move_semantics2): Add comment
3 years ago
Pascal Havé
4dfd85ff05
fix(move_semantics) : add move_semantics6.rs to its mod
3 years ago
Soroush Zare
0bd7a0631a
fix(iterators1): reorder TODO steps
...
Update the TODO steps in the iterators1 exercise.
3 years ago
Lucas Aries
3f0e1303e0
feat: Add move_semantics6.rs exercise ( #908 )
3 years ago
x-hgg-x
179a75a68d
fix: Include exercises folder in the project structure behind a feature ( #917 )
...
closes #859
closes #913
closes #942
3 years ago
diannasoreil
4cde788d33
Merge pull request #733 from apogeeoak/intro
...
feat(intro): Proposal to add successfully compiling exercise as the first exercise.
3 years ago