liv
ccf4a78f5d
Merge pull request #1518 from rust-lang/all-contributors/add-deedy5
...
docs: add deedy5 as a contributor for content
2023-05-17 15:56:10 +02:00
allcontributors[bot]
6abff39549
docs: update .all-contributorsrc [skip ci]
2023-05-17 13:55:29 +00:00
allcontributors[bot]
94c6131c59
docs: update AUTHORS.md [skip ci]
2023-05-17 13:55:28 +00:00
liv
05fcc246ae
Merge pull request #1490 from deedy5/main
...
modules2.rs: add more information to hint
2023-05-17 15:55:13 +02:00
liv
9bfb7055e2
Merge pull request #1517 from rust-lang/all-contributors/add-rb5014
...
docs: add rb5014 as a contributor for content
2023-05-17 15:54:49 +02:00
allcontributors[bot]
c5fe42089d
docs: update .all-contributorsrc [skip ci]
2023-05-17 13:54:40 +00:00
allcontributors[bot]
70cf7698ac
docs: update AUTHORS.md [skip ci]
2023-05-17 13:54:39 +00:00
liv
b07680108b
Merge pull request #1504 from rb5014/success-hints-feature
...
feat(main, verify): Show hint(s) after exercise completion
2023-05-17 15:54:24 +02:00
liv
d45ec21b3c
Merge pull request #1513 from rust-lang/all-contributors/add-nmay231
...
docs: add nmay231 as a contributor for content
2023-05-10 10:50:01 +02:00
allcontributors[bot]
0d252636be
docs: update .all-contributorsrc [skip ci]
2023-05-10 08:49:45 +00:00
allcontributors[bot]
70da26f649
docs: update AUTHORS.md [skip ci]
2023-05-10 08:49:44 +00:00
liv
b882da1ad4
Merge pull request #1512 from nmay231/main
...
fix(options3): panic when not matching to avoid false positives
2023-05-10 10:49:36 +02:00
Noah May
3ecb47ff2c
fix(options3): panic when not matching to avoid false positives
...
Closes #1503
2023-05-09 15:13:18 -05:00
Romain Bayle
c44e3025f9
option success_hints added to the struct Watchargs instead of Args
2023-05-02 22:46:41 +02:00
liv
9ffcab07bf
Merge pull request #1506 from rust-lang/all-contributors/add-az0977776
...
docs: add az0977776 as a contributor for content
2023-05-02 11:15:57 +00:00
allcontributors[bot]
583925c085
docs: update .all-contributorsrc [skip ci]
2023-05-02 11:15:49 +00:00
allcontributors[bot]
e631f3c78b
docs: update AUTHORS.md [skip ci]
2023-05-02 11:15:48 +00:00
liv
9a6e57eec9
Merge pull request #1471 from az0977776/patch-2
...
docs: update line numbers in move_semantics2
2023-05-02 11:15:33 +00:00
Aaron Wang
d3fea5f15a
Merge branch 'main' into patch-2
2023-05-01 19:10:56 -04:00
Romain Bayle
5d3696a9e6
feat(cli): added success-hints option for the rustlings command
...
closes #1373
2023-05-01 03:04:06 +02:00
liv
b75d2aa3f4
Merge pull request #1499 from rust-lang/all-contributors/add-esotuvaka
...
docs: add esotuvaka as a contributor for content
2023-04-28 08:40:25 +00:00
allcontributors[bot]
eb4079c674
docs: update .all-contributorsrc [skip ci]
2023-04-28 08:40:18 +00:00
allcontributors[bot]
72d0c53b33
docs: update AUTHORS.md [skip ci]
2023-04-28 08:40:17 +00:00
liv
6ae0525f7a
Merge pull request #1498 from esotuvaka/main
...
chore: clarified cow owned_no_mutation comments
2023-04-28 08:39:59 +00:00
PiqqiDesigns
c4627e7112
chore: clarified cow owned_no_mutation comments
2023-04-27 15:49:40 -07:00
liv
6d4a980b04
Merge pull request #1491 from rust-lang/all-contributors/add-akgerber
...
docs: add akgerber as a contributor for content
2023-04-22 13:48:59 +00:00
allcontributors[bot]
545a726252
docs: update .all-contributorsrc [skip ci]
2023-04-22 13:48:42 +00:00
allcontributors[bot]
065cd0170e
docs: update AUTHORS.md [skip ci]
2023-04-22 13:48:41 +00:00
liv
a7eeaa3a4b
Merge pull request #1484 from akgerber/move2_comment_fix
...
fix(move_semantics2): fix line number comment
2023-04-22 13:48:23 +00:00
deedy5
e2da663628
Update info.toml
...
modules2.rs: add more information to hint
2023-04-21 15:51:52 +00:00
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.
2023-04-21 06:05:25 +01:00
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.
2023-04-20 12:15:31 -04:00
liv
fc81bb15fe
Merge pull request #1482 from rust-lang/all-contributors/add-smlavine
...
docs: add smlavine as a contributor for code
2023-04-18 15:54:06 +00:00
allcontributors[bot]
6209e7004e
docs: update .all-contributorsrc [skip ci]
2023-04-18 15:51:25 +00:00
allcontributors[bot]
4944488287
docs: update AUTHORS.md [skip ci]
2023-04-18 15:51:24 +00:00
liv
0dc9c33b01
Merge pull request #1480 from smlavine/main
...
feat: Add "!" command to `rustlings watch`
2023-04-18 15:51:06 +00:00
Sebastian LaVine
a4a5691a7b
feat: Add "!" command to `rustlings watch`
2023-04-16 21:44:08 -04:00
Your Name
352267871c
fix: Added some extra tests to validate iterators5 solution
...
closes : #1387
2023-04-15 17:34:52 +01:00
Aaron Wang
8ed2cf7ef5
Update move_semantics2.rs
2023-04-10 22:36:21 -04:00
Aaron Wang
c74e0bfd18
docs: update line numbers in move_semantics2
2023-04-07 01:56:20 -04:00
liv
9fc336c7f7
Merge pull request #1469 from rust-lang/all-contributors/add-stornquist
...
docs: add stornquist as a contributor for content
2023-04-05 13:11:24 +00:00
allcontributors[bot]
5de7124eee
docs: update .all-contributorsrc [skip ci]
2023-04-05 13:11:15 +00:00
allcontributors[bot]
2f33826063
docs: update AUTHORS.md [skip ci]
2023-04-05 13:11:14 +00:00
liv
087e076ec0
Merge pull request #1384 from stornquist/patch-1
...
fix(move_semantics2): add expected output comment
2023-04-05 13:10:57 +00:00
liv
b39b819725
Merge pull request #1468 from rust-lang/all-contributors/add-alexwh
...
docs: add alexwh as a contributor for content
2023-04-05 13:10:02 +00:00
allcontributors[bot]
d544bfcd6d
docs: update .all-contributorsrc [skip ci]
2023-04-05 13:09:51 +00:00
allcontributors[bot]
c7adaa7d14
docs: update AUTHORS.md [skip ci]
2023-04-05 13:09:50 +00:00
liv
f86fa1e909
Merge pull request #1385 from alexwh/patch-1
...
chore: update move_semantics4.rs' hint
2023-04-05 13:09:20 +00:00
liv
2285b89aea
Merge pull request #1467 from rust-lang/all-contributors/add-ktheory
...
docs: add ktheory as a contributor for content
2023-04-05 13:07:58 +00:00
allcontributors[bot]
16ca871544
docs: update .all-contributorsrc [skip ci]
2023-04-05 13:06:59 +00:00