liv
9508e97914
feat: write absolute root module paths for lsp
1 year ago
liv
fd84c2d8f7
Merge pull request #1519 from rust-lang/all-contributors/add-lionel-rowe
...
docs: add lionel-rowe as a contributor for content
1 year ago
allcontributors[bot]
eeb439eaf9
docs: update .all-contributorsrc [skip ci]
1 year ago
allcontributors[bot]
58cbdd71b6
docs: update AUTHORS.md [skip ci]
1 year ago
liv
81cd97902a
Merge pull request #1487 from lionel-rowe/patch-1
...
feat(options2): better test for layered_option
1 year ago
liv
ccf4a78f5d
Merge pull request #1518 from rust-lang/all-contributors/add-deedy5
...
docs: add deedy5 as a contributor for content
1 year ago
allcontributors[bot]
6abff39549
docs: update .all-contributorsrc [skip ci]
1 year ago
allcontributors[bot]
94c6131c59
docs: update AUTHORS.md [skip ci]
1 year ago
liv
05fcc246ae
Merge pull request #1490 from deedy5/main
...
modules2.rs: add more information to hint
1 year ago
liv
9bfb7055e2
Merge pull request #1517 from rust-lang/all-contributors/add-rb5014
...
docs: add rb5014 as a contributor for content
1 year ago
allcontributors[bot]
c5fe42089d
docs: update .all-contributorsrc [skip ci]
1 year ago
allcontributors[bot]
70cf7698ac
docs: update AUTHORS.md [skip ci]
1 year ago
liv
b07680108b
Merge pull request #1504 from rb5014/success-hints-feature
...
feat(main, verify): Show hint(s) after exercise completion
1 year ago
liv
d45ec21b3c
Merge pull request #1513 from rust-lang/all-contributors/add-nmay231
...
docs: add nmay231 as a contributor for content
1 year ago
allcontributors[bot]
0d252636be
docs: update .all-contributorsrc [skip ci]
1 year ago
allcontributors[bot]
70da26f649
docs: update AUTHORS.md [skip ci]
1 year ago
liv
b882da1ad4
Merge pull request #1512 from nmay231/main
...
fix(options3): panic when not matching to avoid false positives
1 year ago
Noah May
3ecb47ff2c
fix(options3): panic when not matching to avoid false positives
...
Closes #1503
1 year ago
Romain Bayle
c44e3025f9
option success_hints added to the struct Watchargs instead of Args
1 year ago
liv
9ffcab07bf
Merge pull request #1506 from rust-lang/all-contributors/add-az0977776
...
docs: add az0977776 as a contributor for content
1 year ago
allcontributors[bot]
583925c085
docs: update .all-contributorsrc [skip ci]
1 year ago
allcontributors[bot]
e631f3c78b
docs: update AUTHORS.md [skip ci]
1 year ago
liv
9a6e57eec9
Merge pull request #1471 from az0977776/patch-2
...
docs: update line numbers in move_semantics2
1 year ago
Aaron Wang
d3fea5f15a
Merge branch 'main' into patch-2
1 year ago
Romain Bayle
5d3696a9e6
feat(cli): added success-hints option for the rustlings command
...
closes #1373
1 year ago
liv
b75d2aa3f4
Merge pull request #1499 from rust-lang/all-contributors/add-esotuvaka
...
docs: add esotuvaka as a contributor for content
1 year ago
allcontributors[bot]
eb4079c674
docs: update .all-contributorsrc [skip ci]
1 year ago
allcontributors[bot]
72d0c53b33
docs: update AUTHORS.md [skip ci]
1 year ago
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
Aaron Wang
8ed2cf7ef5
Update move_semantics2.rs
2 years 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