Commit Graph

1142 Commits (5615dd9e7db031c51385b6acbe8d54079731cdbe)
 

Author SHA1 Message Date
allcontributors[bot] e106d7a4f4
docs: update README.md [skip ci] 3 years ago
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>
3 years ago
diannasoriel db9d7a907d
Merge pull request #850 from rust-lang/all-contributors/add-abusch
docs: add abusch as a contributor for code
3 years ago
allcontributors[bot] a1b9c50f36
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] c4b59aa593
docs: update README.md [skip ci] 3 years ago
diannasoriel 4a18bdeefe
Merge pull request #843 from abusch/quit_command
feat: Add "quit" command to `rustlings watch`
3 years ago
Antoine Busch 1caef0b434 feat: Add "quit" command to `rustlings watch`
closes: #842
3 years ago
diannasoriel ae56cba9c8
Merge pull request #846 from rust-lang/feat/add-more-watch-commands
feat: add more watch commands
3 years ago
ana 3352b5a4d3 chore: improve println! usage 3 years ago
diannasoriel 24762434ff
Merge pull request #849 from rust-lang/all-contributors/add-Millione
docs: add Millione as a contributor for content
3 years ago
allcontributors[bot] e9c0ca6be2
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] 9ef63c0b9b
docs: update README.md [skip ci] 3 years ago
LIU JIE 06d5c0973a
fix(cli): typo in exercise.rs (#848) 3 years ago
diannasoriel 8d82856233
Merge pull request #847 from rust-lang/all-contributors/add-Weilet
docs: add Weilet as a contributor for content
3 years ago
allcontributors[bot] 9ddd4ca33a
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] fe726f5bca
docs: update README.md [skip ci] 3 years ago
Weilet 0a11bad714
feat(quiz1): add default function name in comment (#838) 3 years ago
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.
3 years ago
diannasoriel 74af578beb
Merge pull request #840 from MikAoJk/main
Added in ignore for .iml files
3 years ago
joakim.kartveit 6efa7d5d15 Added ignore for .iml files 3 years ago
diannasoriel a6774100d4
Merge pull request #836 from rust-lang/all-contributors/add-granddaifuku
docs: add granddaifuku as a contributor for content
3 years ago
allcontributors[bot] de22b13273
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] 6c41adef63
docs: update README.md [skip ci] 3 years ago
granddaifuku 1c3beb0a59
fix(modules2): fix typo (#835) 3 years ago
diannasoriel e4e9e4c963
Merge pull request #834 from rust-lang/all-contributors/add-anuk909
docs: add anuk909 as a contributor for content, code
3 years ago
allcontributors[bot] 44d8047249
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] 5423f1be29
docs: update README.md [skip ci] 3 years ago
anuk909 dfd2fab4f3
feat(modules): update exercises, add modules3 (#822)
Co-authored-by: diannasoriel <mokou@fastmail.com>
3 years ago
diannasoriel 96fc301764
chore(quiz1): revert wording 3 years ago
diannasoriel 5bdb5de855
Merge pull request #830 from rust-lang/all-contributors/add-benarmstead
docs: add benarmstead as a contributor for code
3 years ago
allcontributors[bot] a64dbdcc04
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] 2f0ff258b1
docs: update README.md [skip ci] 3 years ago
Ben Armstead 1cd9328a58
fix(cli): remove unnecessary borrows (#829)
* Update dependencies

* Format better and remove unnecessary borrows
3 years ago
diannasoriel ec527824b4
Merge pull request #828 from rust-lang/all-contributors/add-dbednar230
docs: add dbednar230 as a contributor for content
3 years ago
allcontributors[bot] 380587f120
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] ba8f97f418
docs: update README.md [skip ci] 3 years ago
Damian 03131a3d35
fix(quiz1): Fix inconsistent wording (#826)
The second test expects the function to return 80 when there is an order of 40 apples, but the current wording implies returning 40 will pass as well
3 years ago
ana df25684cb7 fix(move_semantics5): Clarify instructions 3 years ago
fmoko 8e313cffaa
Merge pull request #732 from apogeeoak/iterators5
chore(iterators5): Minor formatting improvements.
3 years ago
fmoko 6948905716
Merge pull request #737 from ghost/correct-small-typo
Correct small typo in exercises/conversions/from_str.rs
3 years ago
ana ba087ce64a release: 4.5.0
Signed-off-by: ana <ana@ana.st>
3 years ago
fmoko 3b03865a62
Merge pull request #801 from rust-lang/all-contributors/add-sinharaksh1t
docs: add sinharaksh1t as a contributor for content
3 years ago
allcontributors[bot] 33fa274bbf
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] 23f700dc23
docs: update README.md [skip ci] 3 years ago
Rakshit Sinha d876649616
fix(quiz1): Updated question description (#794)
Co-authored-by: Rakshit Sinha <rakshit.sinha@oracle.com>
3 years ago
fmoko e4c14ac76e
Merge pull request #800 from rust-lang/all-contributors/add-lauralindzey
docs: add lauralindzey as a contributor for doc
3 years ago
allcontributors[bot] b438049c39
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] b017579577
docs: update README.md [skip ci] 3 years ago
fmoko c8e4b357a3
Merge pull request #795 from lauralindzey/docs/section-mapping
docs: Update exercise to chapter mapping for HashMap
3 years ago
lauralindzey 8774e47dc3
docs: Update collections README with HashMap link 3 years ago