Commit graph

1338 commits

Author SHA1 Message Date
Adam Sherwood
5812f1f27b fix(if2): Rename if2 exercise function to foo_if_fizz.
The reasoning here is pretty straightforward: you don't say "Hungry, if
eat." That doesn't make sense. We want to get "foo" back if given
"fizz", so it seems this makes far more sense as "Eat, if hungry," or in
this case, return `foo_if_fizz` is given.
2022-07-12 11:13:04 +02:00
mokou
4868d18ea3 feat(if): replace hints 2022-07-12 11:10:08 +02:00
mokou
742fb08e01 feat(functions): more small fixes 2022-07-12 11:08:29 +02:00
mokou
093a525450 fix(functions): clarify README wording 2022-07-11 14:00:12 +02:00
Cooper Gillan
b3ec8fe022 chore: Tweak punctuation in variables6.rs hint
While the meaning is still obvious as is, it makes a little more sense
to use a colon here =)
2022-07-11 13:53:31 +02:00
Cooper Gillan
9688609d08 chore: Update variables6.rs hint book link, wording
While the included link for variables6 does navigate to the correct
page, the header in the link itself does not actually exist so it
only loads the top of the page. There is, however, some text about
the difference between variables and constants in the "Constants"
section, so reword the hint some and update the link.
2022-07-11 13:53:09 +02:00
gavin
60410cfd2e fix(variables5): Add nudge for shadowing variable 2022-07-11 13:48:49 +02:00
mokou
81edc4234f fix(variables): reorder and redo hint texts 2022-07-11 13:43:41 +02:00
mokou
c3c21ad91f fix(intro): clarify hint usage 2022-07-11 13:35:16 +02:00
mokou
9ed4b0683e fix(intro1): link to exercise file in hint 2022-07-11 13:20:18 +02:00
mokou
0ded8a90c0 feat(intro1): add more hints 2022-07-11 13:19:19 +02:00
mokou
0aee54a82b chore: unify hint language use 2022-07-11 13:12:47 +02:00
mokou
ed0f278a8f chore: remove mod.rs files and exercises feature 2022-07-11 12:53:49 +02:00
liv
bf69145bb9
Merge pull request #1048 from rust-lang/all-contributors/add-Drew-Morris
docs: add Drew-Morris as a contributor for code
2022-07-11 11:59:41 +02:00
allcontributors[bot]
1caa388e92
docs: update .all-contributorsrc [skip ci] 2022-07-11 09:59:33 +00:00
allcontributors[bot]
11618b65c0
docs: update AUTHORS.md [skip ci] 2022-07-11 09:59:32 +00:00
liv
a475e09cfc
Merge pull request #1044 from Drew-Morris/main
chore: Update spacing in Cargo.toml
2022-07-11 11:59:13 +02:00
liv
fba79ea793
Merge pull request #1047 from rust-lang/all-contributors/add-KatanaFluorescent
docs: add KatanaFluorescent as a contributor for code
2022-07-11 11:58:41 +02:00
allcontributors[bot]
440138af84
docs: update .all-contributorsrc [skip ci] 2022-07-11 09:58:19 +00:00
allcontributors[bot]
8835034bd2
docs: update AUTHORS.md [skip ci] 2022-07-11 09:58:18 +00:00
liv
5fbf28dfec
Merge pull request #1038 from KatanaFluorescent/main
change edition to 2021 in exercices.rs
2022-07-11 11:57:59 +02:00
liv
2a12df4591
Merge pull request #1046 from rust-lang/all-contributors/add-0pling
docs: add 0pling as a contributor for content
2022-07-11 11:54:56 +02:00
allcontributors[bot]
995ba213e2
docs: update .all-contributorsrc [skip ci] 2022-07-11 09:53:39 +00:00
allcontributors[bot]
f73aec1a63
docs: update AUTHORS.md [skip ci] 2022-07-11 09:53:38 +00:00
liv
08e3cf494b
Merge pull request #1034 from 0pling/main
docs: Add missing exercise to book chapter mapping
2022-07-11 11:53:20 +02:00
liv
36c43cb839
Merge pull request #1045 from rust-lang/all-contributors/add-klkl0808
docs: add klkl0808 as a contributor for content
2022-07-11 11:52:12 +02:00
allcontributors[bot]
c9e0d53ed2
docs: update .all-contributorsrc [skip ci] 2022-07-11 09:51:31 +00:00
allcontributors[bot]
c38d75481e
docs: update AUTHORS.md [skip ci] 2022-07-11 09:51:30 +00:00
liv
612ae8b8f7
Merge pull request #1024 from klkl0808/patch-2
Update link to book in variables5
2022-07-11 11:51:13 +02:00
Drew Morris
df68d1a86e chore: Update spacing in Cargo.toml 2022-07-09 16:50:57 -06:00
KatanaFluorescent
a500ed2c3c
change edition to 2021 in exercices.rs
workaround for this issue https://github.com/rust-lang/rustlings/issues/1022
2022-07-01 16:49:36 +02:00
mokou
6588d9be22 chore: bump version 2022-07-01 16:48:34 +02:00
0pling
be3944072c docs: Add missing exercise to book chapter mapping 2022-06-26 10:27:18 +08:00
liv
d27f5a7d41
Merge pull request #1028 from rust-lang/all-contributors/add-jackos
docs: add jackos as a contributor for code
2022-06-17 13:01:17 +02:00
allcontributors[bot]
e48f634f34
docs: update .all-contributorsrc [skip ci] 2022-06-17 11:01:04 +00:00
allcontributors[bot]
23403546d2
docs: update AUTHORS.md [skip ci] 2022-06-17 11:01:03 +00:00
liv
294ef8d92c
Merge pull request #1026 from jackos/rust-analyzer-fix
Add lsp command to fix rust-analyzer
2022-06-17 13:00:44 +02:00
Jack Clayton
be87cc9fa6 Add lsp command to fix rust-analyzer 2022-06-17 11:36:06 +08:00
Konstantin
baca5d62ae
fix: update link to book 2022-06-13 21:30:25 +02:00
diannasoreil
b19f74e8cf
Merge pull request #1017 from rust-lang/dependabot/cargo/regex-1.5.5
chore(deps): bump regex from 1.5.4 to 1.5.5
2022-06-07 16:12:05 +02:00
dependabot[bot]
5130a57f8f
chore(deps): bump regex from 1.5.4 to 1.5.5
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.5)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 21:06:16 +00:00
diannasoreil
dc6376788b
Merge pull request #1007 from rust-lang/all-contributors/add-bufo24
docs: add bufo24 as a contributor for content
2022-05-23 15:57:21 +02:00
allcontributors[bot]
ffb6ecaf7e
docs: update .all-contributorsrc [skip ci] 2022-05-23 13:57:00 +00:00
allcontributors[bot]
34a3c440d0
docs: update AUTHORS.md [skip ci] 2022-05-23 13:56:59 +00:00
diannasoreil
386257a06e
Merge pull request #1006 from bufo24/fix-typo-in-info.toml
typo fix in hint message if2
2022-05-23 15:56:42 +02:00
Jesse van Papenrecht
0bdb5207b5
typo fix in hint message if2 2022-05-22 18:56:26 +02:00
diannasoreil
5615dd9e7d
Merge pull request #1003 from rust-lang/all-contributors/add-lucasgrvarela
docs: add lucasgrvarela as a contributor for content
2022-05-21 16:30:22 +02:00
allcontributors[bot]
439a07445e
docs: update .all-contributorsrc [skip ci] 2022-05-21 14:30:14 +00:00
allcontributors[bot]
fedabf5f7f
docs: update AUTHORS.md [skip ci] 2022-05-21 14:30:12 +00:00
diannasoreil
fdc3eb3b4e
Merge pull request #1002 from lucasgrvarela/patch-1
Update info.toml - fix line number hint on exercise variables 1
2022-05-21 16:29:51 +02:00