1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-27 00:41:21 +02:00
Commit Graph

2317 Commits

Author SHA1 Message Date
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
9a7d88f139 docs: update .all-contributorsrc [skip ci] 2023-10-16 09:27:26 +00:00
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
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
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
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
2fcafc6602 docs: update .all-contributorsrc [skip ci] 2023-09-28 09:02:44 +00:00
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
511e334365 fix(cli): stop littering pdb files on windows 2023-09-27 22:02:14 +02:00
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
00e16b49e5 docs: update .all-contributorsrc [skip ci] 2023-09-26 08:59:26 +00:00
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
e58c8322e9 docs: update .all-contributorsrc [skip ci] 2023-09-26 08:58:46 +00:00
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
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
c63c44ac70 Remove .envrc 2023-09-21 11:00:04 -06:00
liv
06f865307f Merge pull request #1683 from rust-lang/all-contributors/add-OfirLauber
docs: add OfirLauber as a contributor for content
2023-09-21 12:12:36 +02:00
f86a3c5ddc docs: update .all-contributorsrc [skip ci] 2023-09-21 10:01:31 +00:00
666857dc4e docs: update AUTHORS.md [skip ci] 2023-09-21 10:01:30 +00:00
liv
1552822404 Merge pull request #1682 from OfirLauber/main
chore: fix comment in enums3.rs
2023-09-21 12:01:16 +02:00
83ac243c00 chore: fix comment in enums3.rs 2023-09-21 01:54:11 +03:00
liv
9a743f80c5 release: 5.6.1 5.6.1 2023-09-18 10:16:05 +02:00
liv
170aaabe9b Merge pull request #1673 from husjon/fix-enums3-formatting
Fixed formatting of `enums3` with rustfmt
2023-09-18 10:07:39 +02:00
liv
ef122c9973 Merge pull request #1681 from rust-lang/all-contributors/add-jurglic
docs: add jurglic as a contributor for content
2023-09-18 10:06:13 +02:00
8e8c74c6c0 docs: update .all-contributorsrc [skip ci] 2023-09-18 08:05:52 +00:00
a38840ae92 docs: update AUTHORS.md [skip ci] 2023-09-18 08:05:51 +00:00
liv
2e48fe9cc7 Merge pull request #1675 from jurglic/fix-rand-typo
fix: test name typo
2023-09-18 10:05:37 +02:00
liv
3b451e4ab1 Merge pull request #1680 from rust-lang/all-contributors/add-krmpotic
docs: add krmpotic as a contributor for content
2023-09-18 10:03:57 +02:00
746180b153 docs: update .all-contributorsrc [skip ci] 2023-09-18 08:03:49 +00:00
62415f758b docs: update AUTHORS.md [skip ci] 2023-09-18 08:03:48 +00:00
liv
0807353bf0 Merge pull request #1678 from krmpotic/main
remove hint comments when no hint exists
2023-09-18 10:03:35 +02:00
liv
a808cf71a3 Merge pull request #1679 from rust-lang/revert-1620-fix_1611
Revert "Fix 1611"
2023-09-18 09:54:20 +02:00
liv
8716558696 Revert "Fix 1611" 2023-09-18 09:54:08 +02:00
eb84eaf151 remove hint comments when no hint exists 2023-09-15 22:29:55 +02:00
a0699bd917 fix: test name typo 2023-09-14 17:10:06 +02:00
0ee9c5b776 Fixed formatting with rust-analyzer 2023-09-13 20:26:47 +02:00