Commit Graph

223 Commits (8d0aa11a35f822d044e6be89dc42840e0aea8858)

Author SHA1 Message Date
Raymon Roos 7e16e7721a fix(traits3): grammar mistake in the hint for traits3 8 months ago
Tristram Oaten 2ac6606c6c fix(intro2): changed intro2 to be a name error, not a format string error. 8 months ago
Adam Brewer 64d95837e9 Update Exercises Directory Names to Reflect Order 8 months ago
Matt Nield 5374811f96
chore(errors1): fix grammar typo in hint for exercise errors1
This commit corrects a grammar typo in the hint of the errors1 exercise, changing from:
"`Ok` and `Err` are one of the variants of `Result`,"
to:
"`Ok` and `Err` are the two variants of `Result`,"
9 months ago
Rogier 'DocWilco' Mulhuijzen 8e6c83b4cf chore: make hints proper markdown
Also rewrapped some hints to 80 columns so that they also look good in a
terminal.

closes #1698
9 months ago
liv 4d04aad890
Merge pull request #1641 from mo8it/move-semantics5-test
Convert exercises with assertions to tests
10 months ago
liv ad0fad4218
Merge branch 'main' into update-hints-for-vecs2 10 months ago
liv 0aa9418736
Merge branch 'main' into chore/update-hints 10 months ago
liv abc3013096
Merge pull request #1660 from rust-lang/fix/move-semantics-tests
fix: refactor move semantics 1-4 into tests
10 months ago
liv 51e237d5f9 fix: refactor move semantics 1-4 into tests 10 months ago
liv 4d9b68b377
Merge pull request #1598 from yamila-moreno/fix/hint-in-primitives-4
fix(primitives-4.rs): update hint so it's less confusing
10 months ago
liv 4de3b4a635
Merge pull request #1630 from gabay/chore/threads2-text
info.toml: update threads2 text.
10 months ago
mo8it 193b600382 Convert other exercises that have assertions to test mode 10 months ago
mo8it 64224d3918 Make move_semantics5 a test 10 months ago
mo8it 3cc9be0d11 Avoid line numbers in hints 10 months ago
Roi Gabay af76794627 info.toml: update threads2 text.
the previous text does not appear in the provided link (https://doc.rust-lang.org/book/ch16-03-shared-state.html#atomic-reference-counting-with-arct).
10 months ago
Yamila Moreno 662e5bddd7 fix(primitives-4.rs): update hint so it's less confusing 11 months ago
Will Hack 37cdea9183 Merge branch 'main' into chore/update-hints 12 months ago
Joshua Carlson 287172698a added if3 based on: `Using if in a let Statement` 12 months ago
Will Hack 0ab781c7a7 chore: remove line reference from strings2 hint 12 months ago
Will Hack b99c7b8c37 chore: update line reference in strings2 hint 12 months ago
vnprc 405b32e77a
chore: use correct line number in strings2.rs hint 1 year ago
liv adc7ca5690 fix(move_semantics2): change type back to compile 1 year ago
tajo48 e1704a2f1b
Merge branch 'main' into main 1 year ago
liv 06ddcfb0bb
Merge pull request #1113 from Frosthage/main
Improve hint for as_ref_mut
1 year ago
liv 44f706a5e7
Merge pull request #1542 from luhem7/main
fix(threads, smart pointers): Swap order of threads and smart pointers exercises
1 year ago
liv c6c7dd2fce
Merge pull request #1544 from FWDekker/main
fix(vecs): rename outdated variable name in hint
1 year ago
liv 369ae2e63d feat(move_semantics2): rewrite hint 1 year ago
Florine W. Dekker 479574e88e
fix(vecs): rename outdated variable name in hint 1 year ago
luhem7 a96bbcd967 fix(threads, smart pointers): Swap order of threads and smart pointers exercises
closes #1541
1 year ago
tajo48 1e02f194fd update hint for vecs2 to match with exercise as it was updated to fix clarity 1 year ago
b1ue64 a7257a1d1e
feat(iterators5): remove outdated part of hint 1 year ago
deedy5 e2da663628
Update info.toml
modules2.rs: add more information to hint
1 year ago
J.c 8cb5cba775 docs(vecs2): update hints 1 year ago
liv f86fa1e909
Merge pull request #1385 from alexwh/patch-1
chore: update move_semantics4.rs' hint
1 year ago
poneciak c4974ac782 added required changes
- fixed grammar in hint and added more specific link
- added comments in test functions
- changed introduction paragraph
1 year ago
poneciak 27b7579566 created task 1 year ago
Sagar Vora b1fb38e73c fix: move lifetimes above tests in recommended order 1 year ago
Vegard Matthey 95e51f384e fixed a spelling mistake in info.toml 1 year ago
Sven Siegmund ec86b60e70 improve hint for strings2, #1407 1 year ago
Alex 89069f78b1
chore: update move_semantics4.rs' hint
after #144, the signature doesn't need changing anymore
1 year ago
Daan Wynen bbdc5c6039 refactor(cow1): replace main with tests
Following the discussion in #1195 this is the best I could come up with.
The issue for me (and apparently a few other learners) was that the code
needed to complete the exercise was not _missing_, but was rather there
but wrong.

In the end, what made the difference between this exercise and others
(for me) was that in this exercise I was supposed to learn what to
*expect* of an output. So I think it makes sense here to let the learner
modify the tests and not the code itself.

Fixes #1195

Signed-off-by: Daan Wynen <black.puppydog@gmx.de>

# Conflicts:
#	info.toml
1 year ago
liv 7be4fd891d
Merge pull request #1305 from platformer/issue1298
fix(threads1): make program panic if threads are not joined
1 year ago
h4x5p4c3 6b04848d41 minor changes to hint 1 year ago
Tobias Klauser 7c4a3a2af6
Fix typo in clippy1 hint 1 year ago
seporterfield a5429d59f9
updated file paths for iterators, smart_pointers 2 years ago
seporterfield cb79be921d
reordered smart pointer exercises
Switched rc and arc so rc comes first, since arc is, like the name implies, atomic rc. This gives the exercises a more logical progression.
Moved all smart pointer exercises (box, rc, arc, cow) under threads into their own section. Threads are used in the smart pointer exercises, so they should be introduced first.
2 years ago
platformer 7e4ce38681 fix(threads1): make program panic if threads are not joined
closes #1298
2 years ago
Petr Pucil 4303717951 chore: "rust" -> "Rust" in exercise hints 2 years ago
TK Buristrakul db53dbc126 chore: tidied up unmatched backticks 2 years ago