Commit Graph

2037 Commits

Author SHA1 Message Date
Alex 89069f78b1
chore: update move_semantics4.rs' hint
after #144, the signature doesn't need changing anymore
2023-02-18 19:26:40 +00:00
Sebastian Törnquist fef8314d3d
fix(move_semantics2): add expected output comment
You can easily get this to compile with `vec0` being `[]` and `vec1` being `[22, 44, 66, 88]`
2023-02-18 18:43:34 +01:00
liv bec7be05f5
Merge pull request #1383 from rust-lang/all-contributors/add-shgew
docs: add shgew as a contributor for content
2023-02-18 14:26:58 +01:00
allcontributors[bot] d42ac49de4
docs: update .all-contributorsrc [skip ci] 2023-02-18 13:26:38 +00:00
allcontributors[bot] 1272d0b990
docs: update AUTHORS.md [skip ci] 2023-02-18 13:26:37 +00:00
liv cf86e734f2
Merge pull request #1381 from shgew/fix/errors5-comment
fix: unify undisclosed type notation in errors5.rs
2023-02-18 14:26:23 +01:00
Gleb Shevchenko 238a496af5 fix: unify undisclosed type notation in errors5.rs 2023-02-18 14:09:04 +01:00
liv a3670d267b
Merge pull request #1380 from rust-lang/all-contributors/add-Anush008
docs: add Anush008 as a contributor for doc
2023-02-17 19:04:09 +01:00
allcontributors[bot] 65f05f0541
docs: update .all-contributorsrc [skip ci] 2023-02-17 18:03:59 +00:00
allcontributors[bot] 338c95f120
docs: update AUTHORS.md [skip ci] 2023-02-17 18:03:58 +00:00
liv 2b9dc4424e
Merge pull request #1379 from Anush008/patch-1
Removed verbose instructions from the uninstall section
2023-02-17 19:03:41 +01:00
Anush ef0b25c392
Removed verbose instructions from the uninstall section 2023-02-17 22:51:42 +05:30
liv 6f0e5d13ed
Merge pull request #1372 from rust-lang/all-contributors/add-black-puppydog
docs: add black-puppydog as a contributor for content
2023-02-15 14:17:07 +01:00
allcontributors[bot] 046a18cd16
docs: update .all-contributorsrc [skip ci] 2023-02-15 13:16:59 +00:00
allcontributors[bot] e1e67d0d41
docs: update AUTHORS.md [skip ci] 2023-02-15 13:16:58 +00:00
liv 216d08d013
Merge pull request #1244 from black-puppydog/cow-rework
refactor(cow1):  replace main with tests
2023-02-15 14:16:22 +01:00
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
2023-02-14 20:37:33 +01:00
liv 149e0c8ac2
Merge pull request #1370 from magnusrodseth/main
docs: add link to docs about `iter_mut` and `map`
2023-02-13 11:01:48 +01:00
magnusrodseth 48ce9d2fd8 docs: add link to docs about `iter_mut` and `map` 2023-02-12 18:26:13 +01:00
liv fc9fb536ca release: 5.4.0 2023-02-12 18:01:48 +01:00
liv 4c7e561740
Merge pull request #1369 from rust-lang/all-contributors/add-grzegorz-zur
docs: add grzegorz-zur as a contributor for content
2023-02-12 16:55:30 +01:00
allcontributors[bot] bf0fa8ee64
docs: update .all-contributorsrc [skip ci] 2023-02-12 15:54:57 +00:00
allcontributors[bot] d3ed9ce2f6
docs: update AUTHORS.md [skip ci] 2023-02-12 15:54:56 +00:00
liv f123cb2777
Merge pull request #1228 from grzegorz-zur/patch-1
Removed unnecessary use statement
2023-02-12 16:54:43 +01:00
liv dc3bf2ea30
Merge pull request #1368 from rust-lang/all-contributors/add-platformer
docs: add platformer as a contributor for content
2023-02-12 16:50:26 +01:00
allcontributors[bot] f3773660b0
docs: update .all-contributorsrc [skip ci] 2023-02-12 15:50:18 +00:00
allcontributors[bot] 18843cf62e
docs: update AUTHORS.md [skip ci] 2023-02-12 15:50:17 +00:00
liv 7be4fd891d
Merge pull request #1305 from platformer/issue1298
fix(threads1): make program panic if threads are not joined
2023-02-12 16:50:03 +01:00
liv b66e2e9b95
Merge pull request #1367 from rust-lang/all-contributors/add-kawaiiPlat
docs: add kawaiiPlat as a contributor for content
2023-02-12 15:52:07 +01:00
allcontributors[bot] 2aad5360d4
docs: update .all-contributorsrc [skip ci] 2023-02-12 14:52:00 +00:00
allcontributors[bot] e8683274ff
docs: update AUTHORS.md [skip ci] 2023-02-12 14:51:59 +00:00
liv b3de1b77bf
Merge pull request #1318 from kawaiiPlat/q2-minor-grammar
minor grammar tweak for quiz 2
2023-02-12 15:51:42 +01:00
liv 957522a492 feat(intro1): add note on rust-analyzer usage 2023-02-12 15:47:58 +01:00
liv ac050fb7ce
Merge pull request #1366 from rust-lang/all-contributors/add-alexandergill
docs: add alexandergill as a contributor for code
2023-02-12 15:43:16 +01:00
allcontributors[bot] 88a92b311c
docs: update .all-contributorsrc [skip ci] 2023-02-12 14:43:08 +00:00
allcontributors[bot] acd2164c85
docs: update AUTHORS.md [skip ci] 2023-02-12 14:43:07 +00:00
liv 890d6549de
Merge pull request #1364 from alexandergill/fix-install-script
Fix `bash: line 105: v1[$i]: unbound variable` in install script
2023-02-12 15:42:49 +01:00
Alexander Gill 0b119339eb fix(installation): bump `MinRustVersion` to 1.58
this is the earliest minor version that compiled without errors
2023-02-11 23:30:35 +00:00
Alexander Gill 4bdd3c036b fix(installation): loop to `max_len-1`
avoid `i` going outside range of array indices
2023-02-11 23:18:34 +00:00
liv 0ea42f60bd
Merge pull request #1356 from rust-lang/all-contributors/add-wjwrh
docs: add wjwrh as a contributor for code
2023-02-05 11:51:57 +01:00
allcontributors[bot] 72fff8d51a
docs: update .all-contributorsrc [skip ci] 2023-02-05 10:51:50 +00:00
allcontributors[bot] ff44be9dcd
docs: update AUTHORS.md [skip ci] 2023-02-05 10:51:49 +00:00
liv 23c3620001
Merge pull request #1355 from wjwrh/main
Fix the problem of different edition between rustc and rust-analyzer
2023-02-05 11:51:35 +01:00
wjwrh 1721ddc231 Fix the problem of different edition between rustc and rust-analyzer 2023-02-05 14:10:23 +08:00
liv ce7ffcd8e9
Merge pull request #1349 from rust-lang/all-contributors/add-kevwan
docs: add kevwan as a contributor for content
2023-01-26 20:55:22 +01:00
allcontributors[bot] c952604308
docs: update .all-contributorsrc [skip ci] 2023-01-26 19:55:14 +00:00
allcontributors[bot] a1b2964869
docs: update AUTHORS.md [skip ci] 2023-01-26 19:55:13 +00:00
liv 5faa0badef
Merge pull request #1347 from kevwan/patch-1
chore: fix prompt error for exercise #80 (rc1.rs)
2023-01-26 20:54:54 +01:00
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;
```
2023-01-23 12:16:51 +08:00
liv 259b434f20
Merge pull request #1338 from rust-lang/all-contributors/add-cloppingemu
docs: add cloppingemu as a contributor for code
2023-01-11 12:25:45 +01:00