1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-14 11:22:55 +02:00
Commit Graph

2187 Commits

Author SHA1 Message Date
Tristram Oaten
2ac6606c6c fix(intro2): changed intro2 to be a name error, not a format string error. 2023-10-20 17:31:56 +01:00
liv
c306792449
Merge pull request #1728 from markgreene74/fix/small-typo-in-intro1.rs
fix(intro1.rs): typo in the exercise body
2023-10-18 23:35:25 +02:00
liv
1d16528542
Merge pull request #1733 from rust-lang/all-contributors/add-VeeDeltaVee
docs: add VeeDeltaVee as a contributor for doc
2023-10-18 23:34:54 +02:00
allcontributors[bot]
e74a7001ef
docs: update .all-contributorsrc [skip ci] 2023-10-18 21:34:41 +00:00
allcontributors[bot]
c5c33578d9
docs: update AUTHORS.md [skip ci] 2023-10-18 21:34:40 +00:00
liv
0d65d17f10
Merge pull request #1729 from VeeDeltaVee/main
docs: fix windows installation instructions
2023-10-18 23:34:17 +02:00
liv
98096d9859
Merge pull request #1732 from rust-lang/all-contributors/add-markgreene74
docs: add markgreene74 as a contributor for code
2023-10-18 23:33:45 +02:00
allcontributors[bot]
5b25de927e
docs: update .all-contributorsrc [skip ci] 2023-10-18 21:33:38 +00:00
allcontributors[bot]
a4698d8e10
docs: update AUTHORS.md [skip ci] 2023-10-18 21:33:37 +00:00
liv
078de99c61
Merge pull request #1727 from markgreene74/fix/clippy-exercises-failing-after-rename
fix(watch): update the CLIPPY_CARGO_TOML_PATH
2023-10-18 23:33:20 +02:00
liv
02a122c2e7
Merge pull request #1731 from rust-lang/all-contributors/add-TheBearodactyl
docs: add TheBearodactyl as a contributor for code
2023-10-18 23:32:53 +02:00
allcontributors[bot]
faa261e3e2
docs: update .all-contributorsrc [skip ci] 2023-10-18 21:32:33 +00:00
allcontributors[bot]
9394825018
docs: update AUTHORS.md [skip ci] 2023-10-18 21:32:32 +00:00
liv
efd6b8b9c7
Merge pull request #1730 from TheBearodactyl/main
Update install.sh
2023-10-18 23:31:19 +02:00
The Bearodactyl
be6630bec6
Update install.sh 2023-10-18 18:59:58 +00:00
Versha Dhankar
d757726aca
docs: fix windows installation instructions
Currently, the windows installation instructions download a script from the URL ps1.rustlings.cool. This URL isn't detected as a URL in some cases, which means that PowerShell tries to load the data from a local file called ps1.rustlings.cool.

This was breaking my install, and adding the https:// fixed it.
2023-10-17 11:54:59 -07:00
markgreene74
3545c5a7a4 fix(intro1.rs): typo in the exercise body 2023-10-16 22:53:21 +01:00
markgreene74
3c4fde4610 fix(watch): update the CLIPPY_CARGO_TOML_PATH
... to reflect the changes to the exercise directory names.

The path exercises/clippy replaced with exercises/22_clippy.

closes #1726
2023-10-16 22:41:34 +01:00
liv
33220c5109
Merge pull request #1723 from adamhb123/exercise-directory-structure-update
Update Exercises Directory Names to Reflect Order
2023-10-16 14:02:51 +02:00
Adam Brewer
64d95837e9 Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
liv
c3941323e2
Merge pull request #1725 from rust-lang/all-contributors/add-matthewjnield
docs: add matthewjnield as a contributor for content
2023-10-16 11:27:42 +02:00
allcontributors[bot]
9a7d88f139
docs: update .all-contributorsrc [skip ci] 2023-10-16 09:27:26 +00:00
allcontributors[bot]
c7fccf74c9
docs: update AUTHORS.md [skip ci] 2023-10-16 09:27:25 +00:00
liv
54c0ac1f91
Merge pull request #1718 from matthewjnield/main
chore(errors): fix grammar typo and wording in errors exercises
2023-10-16 11:27:07 +02:00
Matt Nield
642aac6f43
chore(errors2): minor description wording change
This commit makes a minor change in the wording of the description of the errors2 exercise to avoid potential confusion, changing:

"A player of the game will type in how many items they want to buy, and the `total_cost` function will calculate the total cost of the tokens."
to
"A player of the game will type in how many items they want to buy, and the `total_cost` function will calculate the total cost of the items."
2023-10-13 15:47:38 -04:00
Matt Nield
5374811f96
chore(errors1): fix grammar typo in hint for exercise errors1
This commit corrects a grammar typo in the hint of the errors1 exercise, changing from:
"`Ok` and `Err` are one of the variants of `Result`,"
to:
"`Ok` and `Err` are the two variants of `Result`,"
2023-10-13 15:28:14 -04:00
liv
b97c88f202
docs: use new fancy install aliases 2023-10-13 13:28:45 +02:00
liv
d15096f0df
Merge pull request #1700 from docwilco/proper-markdown-hints
chore: make hints proper markdown
2023-09-29 12:32:16 +02:00
Rogier 'DocWilco' Mulhuijzen
8e6c83b4cf chore: make hints proper markdown
Also rewrapped some hints to 80 columns so that they also look good in a
terminal.

closes #1698
2023-09-29 00:39:51 +02:00
liv
3bfd857a27
Merge pull request #1696 from docwilco/docwilco/fix-spawn-windows-debugging
fix(cli): make debugging in windows work
2023-09-28 11:03:08 +02:00
liv
c03bc1ec3e
Merge pull request #1699 from rust-lang/all-contributors/add-docwilco
docs: add docwilco as a contributor for code
2023-09-28 11:02:51 +02:00
allcontributors[bot]
2fcafc6602
docs: update .all-contributorsrc [skip ci] 2023-09-28 09:02:44 +00:00
allcontributors[bot]
11227403ce
docs: update AUTHORS.md [skip ci] 2023-09-28 09:02:43 +00:00
liv
177981d1cd
chore: fix missing opening brace 2023-09-28 11:02:25 +02:00
liv
579735b1c3
Merge pull request #1697 from docwilco/docwilco/stop-littering-pdb-files-on-windows
fix(cli): stop littering .pdb files on windows
2023-09-28 11:01:33 +02:00
DocWilco
511e334365 fix(cli): stop littering pdb files on windows 2023-09-27 22:02:14 +02:00
DocWilco
cc658eb288 fix(cli): make debugging in windows work
On windows, if `stderr` or `stdin` aren't also set to `Stdio::null()`
the `spawn()` fails with `The handle is invalid`, and `rustlings`
thinks that there's no `rustc` installed.
2023-09-27 21:33:49 +02:00
liv
da3d55ba03
Merge pull request #1690 from jyn514/error-handling
Give a more helpful error when a file is missing
2023-09-26 11:02:05 +02:00
liv
e1bd5ef858
Merge pull request #1692 from rust-lang/all-contributors/add-offbyone
docs: add offbyone as a contributor for infra
2023-09-26 11:01:35 +02:00
liv
5c405ea0f5
Merge branch 'main' into all-contributors/add-offbyone 2023-09-26 11:01:28 +02:00
liv
92f96c1d45
Merge pull request #1693 from rust-lang/all-contributors/add-dieterplex
docs: add dieterplex as a contributor for infra
2023-09-26 11:00:22 +02:00
allcontributors[bot]
00e16b49e5
docs: update .all-contributorsrc [skip ci] 2023-09-26 08:59:26 +00:00
allcontributors[bot]
463e23e006
docs: update AUTHORS.md [skip ci] 2023-09-26 08:59:25 +00:00
liv
d7e1064b13
Merge pull request #1686 from dieterplex/mrv4clap
fix(installation): bump MinRustVersion to 1.70
2023-09-26 10:59:08 +02:00
allcontributors[bot]
e58c8322e9
docs: update .all-contributorsrc [skip ci] 2023-09-26 08:58:46 +00:00
allcontributors[bot]
be78831ac0
docs: update AUTHORS.md [skip ci] 2023-09-26 08:58:45 +00:00
liv
fb2840ede5
Merge pull request #1684 from offbyone/drop-envrc
Remove .envrc
2023-09-26 10:58:28 +02:00
jyn
b88c23897f Give a more helpful error when a file is missing
Previously, this would just say "missing file". Now it shows the path of the file that was missing,
which should make it easier to debug what went wrong.
2023-09-25 03:41:13 -04:00
d1t2
6aa47be78e
fix(installation): bump MinRustVersion to 1.70
Since #1633 porting to Clap, min Rust version reqirement changes.
2023-09-22 11:32:39 +08:00
Chris Rose
c63c44ac70
Remove .envrc 2023-09-21 11:00:04 -06:00