Commit Graph

1822 Commits (30291a3c253f08a4191cfd544ba36867612ebb7a)
 

Author SHA1 Message Date
liv 6ae0525f7a
Merge pull request #1498 from esotuvaka/main
chore: clarified cow owned_no_mutation comments
1 year ago
PiqqiDesigns c4627e7112 chore: clarified cow owned_no_mutation comments 1 year ago
liv 6d4a980b04
Merge pull request #1491 from rust-lang/all-contributors/add-akgerber
docs: add akgerber as a contributor for content
1 year ago
allcontributors[bot] 545a726252
docs: update .all-contributorsrc [skip ci] 1 year ago
allcontributors[bot] 065cd0170e
docs: update AUTHORS.md [skip ci] 1 year ago
liv a7eeaa3a4b
Merge pull request #1484 from akgerber/move2_comment_fix
fix(move_semantics2): fix line number comment
1 year ago
deedy5 e2da663628
Update info.toml
modules2.rs: add more information to hint
1 year ago
lionel-rowe 836134202e
feat(options2): better tests for layered_option
The existing test can be solved with the following:

```rs
        while let Some(integer) = optional_integers.pop() {
            assert_eq!(integer.unwrap(), range);
```

Similarly with `expect(...)`, `unwrap_or(0)`, `unwrap_or_default()`, etc. However, none of these solutions use the learning point of stacking `Option<T>`s.

The updated test can _only_ be solved by stacking `Option<T>`s:

```rs
        while let Some(Some(integer)) = optional_integers.pop() {
            assert_eq!(integer, cursor);
```

With the updated test, using `unwrap` or `expect` will panic when it hits the `None` value, and using `unwrap_or` or `unwrap_or_default` will cause the final `assert_eq!(cursor, 0)`  to panic.
1 year ago
Alan Gerber 319a8253ba fix(move_semantics2): fix line number comment
Commit fef8314 added three lines of comments, which left the line
numbers expected to stay unchanged mentioned on line 2 out of date.
1 year ago
liv fc81bb15fe
Merge pull request #1482 from rust-lang/all-contributors/add-smlavine
docs: add smlavine as a contributor for code
1 year ago
allcontributors[bot] 6209e7004e
docs: update .all-contributorsrc [skip ci] 1 year ago
allcontributors[bot] 4944488287
docs: update AUTHORS.md [skip ci] 1 year ago
liv 0dc9c33b01
Merge pull request #1480 from smlavine/main
feat: Add "!" command to `rustlings watch`
1 year ago
Sebastian LaVine a4a5691a7b
feat: Add "!" command to `rustlings watch` 1 year ago
Your Name 352267871c fix: Added some extra tests to validate iterators5 solution
closes: #1387
1 year ago
Aaron Wang 8ed2cf7ef5
Update move_semantics2.rs 1 year ago
Aaron Wang c74e0bfd18
docs: update line numbers in move_semantics2 2 years ago
liv 9fc336c7f7
Merge pull request #1469 from rust-lang/all-contributors/add-stornquist
docs: add stornquist as a contributor for content
2 years ago
allcontributors[bot] 5de7124eee
docs: update .all-contributorsrc [skip ci] 2 years ago
allcontributors[bot] 2f33826063
docs: update AUTHORS.md [skip ci] 2 years ago
liv 087e076ec0
Merge pull request #1384 from stornquist/patch-1
fix(move_semantics2): add expected output comment
2 years ago
liv b39b819725
Merge pull request #1468 from rust-lang/all-contributors/add-alexwh
docs: add alexwh as a contributor for content
2 years ago
allcontributors[bot] d544bfcd6d
docs: update .all-contributorsrc [skip ci] 2 years ago
allcontributors[bot] c7adaa7d14
docs: update AUTHORS.md [skip ci] 2 years ago
liv f86fa1e909
Merge pull request #1385 from alexwh/patch-1
chore: update move_semantics4.rs' hint
2 years ago
liv 2285b89aea
Merge pull request #1467 from rust-lang/all-contributors/add-ktheory
docs: add ktheory as a contributor for content
2 years ago
allcontributors[bot] 16ca871544
docs: update .all-contributorsrc [skip ci] 2 years ago
allcontributors[bot] 722c7910e4
docs: update AUTHORS.md [skip ci] 2 years ago
liv ab6aa23cec
Merge pull request #1391 from ktheory/ktheory/iter5
docs: clarify instructions on iterators5.rs
2 years ago
liv 5fd3dfe01b
Merge pull request #1452 from guoard/markdown-linter
feat(docs): add markdown linter for exercises README.md files
2 years ago
liv 8a7f437641
Merge pull request #1466 from rust-lang/all-contributors/add-poneciak57
docs: add poneciak57 as a contributor for content
2 years ago
allcontributors[bot] 63a467af31
docs: update .all-contributorsrc [skip ci] 2 years ago
allcontributors[bot] af365f444f
docs: update AUTHORS.md [skip ci] 2 years ago
liv 9a9b487abd
Merge pull request #1463 from poneciak57/feature/test4_panic
feat: add tests4.rs exercise
2 years ago
poneciak 102d7f3d0e changed comments in tests
also fixed small logical issue in `Rectangle::new()` where u could create rectangle with width or height equals 0
2 years ago
poneciak c4974ac782 added required changes
- fixed grammar in hint and added more specific link
- added comments in test functions
- changed introduction paragraph
2 years ago
poneciak 27b7579566 created task 2 years ago
liv 01fa21f160
Merge pull request #1461 from rust-lang/all-contributors/add-sagarvora
docs: add sagarvora as a contributor for content
2 years ago
allcontributors[bot] 54d21dc7c1
docs: update .all-contributorsrc [skip ci] 2 years ago
allcontributors[bot] 2f2fd43771
docs: update AUTHORS.md [skip ci] 2 years ago
liv 2ca4ee2a54
Merge pull request #1460 from sagarvora/lifetimes-first
fix: move lifetimes above tests in recommended order
2 years ago
Sagar Vora b1fb38e73c fix: move lifetimes above tests in recommended order 2 years ago
liv 09dc7058c9
Merge pull request #1456 from rust-lang/all-contributors/add-ahresse
docs: add ahresse as a contributor for content
2 years ago
allcontributors[bot] 75f0ab65d1
docs: update .all-contributorsrc [skip ci] 2 years ago
allcontributors[bot] 391e5d121a
docs: update AUTHORS.md [skip ci] 2 years ago
liv 6f84887f60
Merge pull request #1454 from ahresse/ahresse/remove_trailing_spaces
fix: remove trailing spaces
2 years ago
liv 3e44060b5b
Merge pull request #1455 from rust-lang/all-contributors/add-keogami
docs: add keogami as a contributor for doc
2 years ago
allcontributors[bot] 84dcd51d37
docs: update .all-contributorsrc [skip ci] 2 years ago
allcontributors[bot] e185e27273
docs: update AUTHORS.md [skip ci] 2 years ago
liv e2eb24761f
Merge pull request #1453 from keogami/patch-1
Split quick installation commands into two separate blocks
2 years ago