Commit Graph

1407 Commits

Author SHA1 Message Date
rlch 1c0fe3cbcc fix: few spelling mistakes 2021-10-02 23:59:23 +10:00
diannasoriel ed7fe883b9
Merge pull request #858 from rust-lang/all-contributors/add-fredr
docs: add fredr as a contributor for content
2021-09-30 10:19:33 +02:00
allcontributors[bot] ae54c17b6a
docs: update .all-contributorsrc [skip ci] 2021-09-30 08:18:53 +00:00
allcontributors[bot] 574bbffe0b
docs: update README.md [skip ci] 2021-09-30 08:18:52 +00:00
Fredrik Enestad 46c28d5cef
fix(move_semantics5): correct typo (#857) 2021-09-30 10:18:36 +02:00
diannasoriel ad338ee789
Merge pull request #853 from rust-lang/all-contributors/add-EmisonLu
docs: add EmisonLu as a contributor for content
2021-09-27 10:03:57 +02:00
allcontributors[bot] e3cfaa246d
docs: update .all-contributorsrc [skip ci] 2021-09-27 08:03:47 +00:00
allcontributors[bot] fed4fe78bb
docs: update README.md [skip ci] 2021-09-27 08:03:46 +00:00
Zhenghao Lu bf33829da2
fix(structs3): remove redundant 'return' (#852) 2021-09-27 10:03:28 +02:00
ana d57c183028 release: 4.6.0 2021-09-25 11:23:05 +02:00
diannasoriel c2ed98deb3
Merge pull request #781 from tlyu/advanced-errs
feature: advanced errors
2021-09-25 11:18:55 +02:00
Taylor Yu abd6b70c72 feat: add advanced_errs2
New exercise to demonstrate traits that make it easier for other code
to consume our custom error types.
2021-09-25 11:18:23 +02:00
Taylor Yu 882d535ba8 feat: add advanced_errs1
New section and exercise to demonstrate the `From` trait for errors
and its usefulness with the `?` operator.
2021-09-25 11:18:21 +02:00
diannasoriel 0de45ccdb7
Merge pull request #851 from rust-lang/all-contributors/add-frogtd
docs: add frogtd as a contributor for content
2021-09-25 10:53:13 +02:00
allcontributors[bot] ab5ecbee7a
docs: update .all-contributorsrc [skip ci] 2021-09-25 08:53:05 +00:00
allcontributors[bot] e106d7a4f4
docs: update README.md [skip ci] 2021-09-25 08:53:04 +00:00
frogtd d75759e829
fix(move_semantics5): change &mut *y to &mut x (#814)
Instead of having to explain why 
```rs
let mut x = 100; 
let y = &mut x;
let mut z_owned = *y;
let z = &mut z_owned;
*y += 100;
*z += 1000;
```
and 
```rs
let mut x = 100; 
let y = &mut x;
let z = &mut *y;
*y += 100;
*z += 1000;
```
are different, you still get the point across about having only one mutable reference.
As it stands, this exercise does too much (dereferencing and having only one mutable reference), and by doing so confuses people.

Example of someone being confused by this:
<https://discord.com/channels/273534239310479360/273541522815713281/872689531428692040>
2021-09-25 10:52:18 +02:00
diannasoriel db9d7a907d
Merge pull request #850 from rust-lang/all-contributors/add-abusch
docs: add abusch as a contributor for code
2021-09-25 10:48:04 +02:00
allcontributors[bot] a1b9c50f36
docs: update .all-contributorsrc [skip ci] 2021-09-25 08:47:56 +00:00
allcontributors[bot] c4b59aa593
docs: update README.md [skip ci] 2021-09-25 08:47:55 +00:00
diannasoriel 4a18bdeefe
Merge pull request #843 from abusch/quit_command
feat: Add "quit" command to `rustlings watch`
2021-09-25 10:47:36 +02:00
Antoine Busch 1caef0b434 feat: Add "quit" command to `rustlings watch`
closes: #842
2021-09-24 23:55:55 +10:00
diannasoriel ae56cba9c8
Merge pull request #846 from rust-lang/feat/add-more-watch-commands
feat: add more watch commands
2021-09-24 13:05:04 +02:00
ana 3352b5a4d3 chore: improve println! usage 2021-09-24 13:04:30 +02:00
diannasoriel 24762434ff
Merge pull request #849 from rust-lang/all-contributors/add-Millione
docs: add Millione as a contributor for content
2021-09-21 11:50:41 +02:00
allcontributors[bot] e9c0ca6be2
docs: update .all-contributorsrc [skip ci] 2021-09-21 09:50:32 +00:00
allcontributors[bot] 9ef63c0b9b
docs: update README.md [skip ci] 2021-09-21 09:50:31 +00:00
LIU JIE 06d5c0973a
fix(cli): typo in exercise.rs (#848) 2021-09-21 11:50:15 +02:00
diannasoriel 8d82856233
Merge pull request #847 from rust-lang/all-contributors/add-Weilet
docs: add Weilet as a contributor for content
2021-09-21 10:44:15 +02:00
allcontributors[bot] 9ddd4ca33a
docs: update .all-contributorsrc [skip ci] 2021-09-21 08:44:04 +00:00
allcontributors[bot] fe726f5bca
docs: update README.md [skip ci] 2021-09-21 08:44:03 +00:00
Weilet 0a11bad714
feat(quiz1): add default function name in comment (#838) 2021-09-21 10:43:44 +02:00
ana a7dc080b95 feat: add more watch commands
Includes:
- quit, to quit the shell instead of having to press Cmd/Ctrl-C or Cmd/Ctrl-D
- help, to display an overview of all the commands available in watch mode.

Closes #842.
2021-09-21 10:36:11 +02:00
diannasoriel 74af578beb
Merge pull request #840 from MikAoJk/main
Added in ignore for .iml files
2021-09-09 15:54:57 +02:00
joakim.kartveit 6efa7d5d15 Added ignore for .iml files 2021-09-09 15:53:05 +02:00
diannasoriel a6774100d4
Merge pull request #836 from rust-lang/all-contributors/add-granddaifuku
docs: add granddaifuku as a contributor for content
2021-09-06 16:33:15 +02:00
allcontributors[bot] de22b13273
docs: update .all-contributorsrc [skip ci] 2021-09-06 14:33:05 +00:00
allcontributors[bot] 6c41adef63
docs: update README.md [skip ci] 2021-09-06 14:33:03 +00:00
granddaifuku 1c3beb0a59
fix(modules2): fix typo (#835) 2021-09-06 16:32:39 +02:00
diannasoriel e4e9e4c963
Merge pull request #834 from rust-lang/all-contributors/add-anuk909
docs: add anuk909 as a contributor for content, code
2021-09-03 10:41:51 +02:00
allcontributors[bot] 44d8047249
docs: update .all-contributorsrc [skip ci] 2021-09-03 08:41:43 +00:00
allcontributors[bot] 5423f1be29
docs: update README.md [skip ci] 2021-09-03 08:41:42 +00:00
anuk909 dfd2fab4f3
feat(modules): update exercises, add modules3 (#822)
Co-authored-by: diannasoriel <mokou@fastmail.com>
2021-09-03 10:41:12 +02:00
diannasoriel 96fc301764
chore(quiz1): revert wording 2021-08-26 10:30:18 +02:00
diannasoriel 5bdb5de855
Merge pull request #830 from rust-lang/all-contributors/add-benarmstead
docs: add benarmstead as a contributor for code
2021-08-24 14:06:55 +02:00
allcontributors[bot] a64dbdcc04
docs: update .all-contributorsrc [skip ci] 2021-08-24 12:06:45 +00:00
allcontributors[bot] 2f0ff258b1
docs: update README.md [skip ci] 2021-08-24 12:06:44 +00:00
Ben Armstead 1cd9328a58
fix(cli): remove unnecessary borrows (#829)
* Update dependencies

* Format better and remove unnecessary borrows
2021-08-24 14:06:30 +02:00
diannasoriel ec527824b4
Merge pull request #828 from rust-lang/all-contributors/add-dbednar230
docs: add dbednar230 as a contributor for content
2021-08-24 10:49:50 +02:00
allcontributors[bot] 380587f120
docs: update .all-contributorsrc [skip ci] 2021-08-24 08:49:24 +00:00