Sven Siegmund
ec86b60e70
improve hint for strings2, #1407
2 years 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
2 years ago
liv
7be4fd891d
Merge pull request #1305 from platformer/issue1298
...
fix(threads1): make program panic if threads are not joined
2 years ago
h4x5p4c3
6b04848d41
minor changes to hint
2 years 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
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
Eric Jolibois
8a4dca5fa6
remove small typo in hint of threads3
2 years ago
Mattia Schiavon
e1d6abb4c9
Apply suggestions from code review
...
Co-authored-by: liv <mokou@fastmail.com>
2 years ago
Tostapunk
02d78c3e84
fix: Improve hint of lifetimes2
...
fixes #1071
2 years ago
Denton24646
ce86d252e5
feat: add rc1.rs exercise
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
jayber
1ef8dacaf6
feat: add lifetimes exercises
2 years ago
exdx
a3b5278b42
feat: add threads3.rs exercise
2 years ago
mokou
b609f0431c
feat: remove advanced_errs
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
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
mokou
cf9629cb0e
feat: move box/arc behind iterators
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
c34e2adcbb
feat(errors): Improve comments and hints
2 years ago
Noah Cairns
5e1ca4b995
fix(errors5): improve exercise instructions
2 years ago
mokou
b71feed824
feat(options): add hint comments
2 years ago
mokou
b644558c19
fix: rename option to options
2 years ago