Commit Graph

1670 Commits (7f1754ecc5690f31db4aff38eef2bf30e2aec525)
 

Author SHA1 Message Date
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 149e0c8ac2
Merge pull request #1370 from magnusrodseth/main
docs: add link to docs about `iter_mut` and `map`
1 year ago
magnusrodseth 48ce9d2fd8 docs: add link to docs about `iter_mut` and `map` 1 year ago
liv fc9fb536ca release: 5.4.0 1 year ago
liv 4c7e561740
Merge pull request #1369 from rust-lang/all-contributors/add-grzegorz-zur
docs: add grzegorz-zur as a contributor for content
1 year ago
allcontributors[bot] bf0fa8ee64
docs: update .all-contributorsrc [skip ci] 1 year ago
allcontributors[bot] d3ed9ce2f6
docs: update AUTHORS.md [skip ci] 1 year ago
liv f123cb2777
Merge pull request #1228 from grzegorz-zur/patch-1
Removed unnecessary use statement
1 year ago
liv dc3bf2ea30
Merge pull request #1368 from rust-lang/all-contributors/add-platformer
docs: add platformer as a contributor for content
1 year ago
allcontributors[bot] f3773660b0
docs: update .all-contributorsrc [skip ci] 1 year ago
allcontributors[bot] 18843cf62e
docs: update AUTHORS.md [skip ci] 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
liv b66e2e9b95
Merge pull request #1367 from rust-lang/all-contributors/add-kawaiiPlat
docs: add kawaiiPlat as a contributor for content
1 year ago
allcontributors[bot] 2aad5360d4
docs: update .all-contributorsrc [skip ci] 1 year ago
allcontributors[bot] e8683274ff
docs: update AUTHORS.md [skip ci] 1 year ago
liv b3de1b77bf
Merge pull request #1318 from kawaiiPlat/q2-minor-grammar
minor grammar tweak for quiz 2
1 year ago
liv 957522a492 feat(intro1): add note on rust-analyzer usage 1 year ago
liv ac050fb7ce
Merge pull request #1366 from rust-lang/all-contributors/add-alexandergill
docs: add alexandergill as a contributor for code
1 year ago
allcontributors[bot] 88a92b311c
docs: update .all-contributorsrc [skip ci] 1 year ago
allcontributors[bot] acd2164c85
docs: update AUTHORS.md [skip ci] 1 year ago
liv 890d6549de
Merge pull request #1364 from alexandergill/fix-install-script
Fix `bash: line 105: v1[$i]: unbound variable` in install script
1 year ago
Alexander Gill 0b119339eb fix(installation): bump `MinRustVersion` to 1.58
this is the earliest minor version that compiled without errors
1 year ago
Alexander Gill 4bdd3c036b fix(installation): loop to `max_len-1`
avoid `i` going outside range of array indices
1 year ago
liv 0ea42f60bd
Merge pull request #1356 from rust-lang/all-contributors/add-wjwrh
docs: add wjwrh as a contributor for code
1 year ago
allcontributors[bot] 72fff8d51a
docs: update .all-contributorsrc [skip ci] 1 year ago
allcontributors[bot] ff44be9dcd
docs: update AUTHORS.md [skip ci] 1 year ago
liv 23c3620001
Merge pull request #1355 from wjwrh/main
Fix the problem of different edition between rustc and rust-analyzer
1 year ago
wjwrh 1721ddc231 Fix the problem of different edition between rustc and rust-analyzer 1 year ago
liv ce7ffcd8e9
Merge pull request #1349 from rust-lang/all-contributors/add-kevwan
docs: add kevwan as a contributor for content
1 year ago
allcontributors[bot] c952604308
docs: update .all-contributorsrc [skip ci] 1 year ago
allcontributors[bot] a1b2964869
docs: update AUTHORS.md [skip ci] 1 year ago
liv 5faa0badef
Merge pull request #1347 from kevwan/patch-1
chore: fix prompt error for exercise #80 (rc1.rs)
1 year ago
Kevin Wan 4771a7b9e7
chore: fix prompt error
Missed a blank line, which causes the prompt incorrect like below:

```rust
You can keep working on this exercise,
or jump into the next one by removing the `I AM NOT DONE` comment:

 6 |  // Make this code compile by using the proper Rc primitives to express that the sun has multiple owners.
 7 |  
 8 |  // I AM NOT DONE
 9 |  use std::rc::Rc;
```
1 year ago
liv 259b434f20
Merge pull request #1338 from rust-lang/all-contributors/add-cloppingemu
docs: add cloppingemu as a contributor for code
1 year ago
allcontributors[bot] d58c97bd21
docs: update .all-contributorsrc [skip ci] 1 year ago
allcontributors[bot] d05a817f3b
docs: update AUTHORS.md [skip ci] 1 year ago
liv 2b30cec974
Merge pull request #1319 from cloppingemu/main
fix(verify): progress bar percent now updates with the number of files verified
1 year ago
liv 6ef284bb1a
Merge pull request #1337 from rust-lang/all-contributors/add-h4x5p4c3
docs: add h4x5p4c3 as a contributor for content
1 year ago
allcontributors[bot] ac839c267b
docs: update .all-contributorsrc [skip ci] 1 year ago
allcontributors[bot] 3ed1e16c78
docs: update AUTHORS.md [skip ci] 1 year ago
liv c28c661deb
Merge pull request #1336 from h4x5p4c3/main
minor changes to hint
1 year ago
h4x5p4c3 6b04848d41 minor changes to hint 1 year ago
liv c5898ac6b7
Merge pull request #1326 from tklauser/clippy1-typo
Fix typo in clippy1 hint
1 year ago
Tobias Klauser 7c4a3a2af6
Fix typo in clippy1 hint 1 year ago
liv 0d30dce26d
Merge pull request #1325 from rust-lang/all-contributors/add-AxolotlTears
docs: add AxolotlTears as a contributor for code
1 year ago
allcontributors[bot] 6c170c2c21
docs: update .all-contributorsrc [skip ci] 1 year ago
allcontributors[bot] 4179317f37
docs: update AUTHORS.md [skip ci] 1 year ago
liv 5bcd2cee1d
Merge pull request #1320 from AxolotlTears/main
Decrease watch delay
1 year ago
liv 29ecee8cc6
Merge pull request #1324 from rust-lang/all-contributors/add-0xMySt1c
docs: add 0xMySt1c as a contributor for tool
1 year ago
allcontributors[bot] f67a2b2535
docs: update .all-contributorsrc [skip ci] 1 year ago