Commit Graph

204 Commits (193b600382ead22a24d2c26ca3a9117e7ad18be8)

Author SHA1 Message Date
mo8it 193b600382 Convert other exercises that have assertions to test mode 10 months ago
mo8it 64224d3918 Make move_semantics5 a test 10 months ago
Joshua Carlson 287172698a added if3 based on: `Using if in a let Statement` 1 year 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
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 2 years 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
craymel 2ceb59a11d fix: Update structs3 hint 2 years ago
mokou 2e1630c712 chore: style fixes 2 years ago
liv cade600c91
Merge pull request #1203 from skaunov/patch-2
Correct a link in `threads1` `hint`
2 years ago
liv 6174b5caf0
Merge pull request #1210 from cj81499/iterators1-hint
improve hint for iterators1
2 years ago
Tostapunk 1660f1647e fix: Fix typo in errors5 hint
fixes #1205
2 years ago
Cal Jacobson efdebd48b6
improve hint for iterators1 2 years ago
skaunov c0b3194a55
Correct a link in `threads1` `hint`
It didn't work without last character
2 years ago
skaunov 3028d1395c
Add link to `std` in `strings3` hint
Seems like it's the first place, where `std` is introduced in Rustlings, and it's a good place to facilitate docs discovery for user. As _the book_ seems to have no Rustlings-sized solutions for this exercise.
2 years ago
Miguel Raz Guzmán Macedo c97e659d78
typox fix 2 years ago
Gabriel Bianconi 86506fa5fd
Fix typo in `threads3` hint 2 years ago
magnusrodseth 52a29aa84b test: Convert main function to working tests 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
Mikael Frosthage 5ff23a2861 Improve hint for as_ref_mut 2 years ago
Claire Wang a3a5fbeddf fix: remove extra " typo in info.toml 2 years ago
Denton24646 72e21a2a6c feat: add cow1.rs exercise 2 years ago
Jeremy Goh 301bc52857
fix: lineno typo 2 years ago
Jeremy Goh f88c7d1e8c
fix: reference to variables4 2 years ago
Greg Leonard f9413b8ae1 fix(traits5): fix "paramter" spelling 2 years ago