Commit graph

2450 commits

Author SHA1 Message Date
Kyle VanderBeek
77903200a0 Remove duplicate vscode extension list.
It's already in the vendor-specific .vscode files.
2024-03-09 20:20:14 +00:00
Kyle VanderBeek
e424e9f6c7 Add target directory to $PATH
Makes the pre-built command work in the shell right away.
2024-03-09 20:07:51 +00:00
Kyle VanderBeek
11f0fd7fd9 Convert to lightweight dev container; simplify.
Instead of running `rustup` on a multi-gigabyte general-purpose Linux base, use the premade devcontainers/rust:1 which closely tracks the rust toolchain releases. Rip out excess setup steps since devcontainers come with the repo checked out; just compile/update the binary.
2024-03-09 19:45:50 +00:00
luna
547f3ac835
chore: minor typo fix 2024-03-07 18:31:33 -05:00
dependabot[bot]
373676a576
chore(deps): bump mio from 0.8.9 to 0.8.11
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.9 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.9...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 22:02:08 +00:00
Evan Miller
9bda8598e1
Merge pull request #1 from evanmiller2112/evanmiller2112-hashmap3-description
Update hashmaps3.rs description for clarity
2024-03-04 10:39:01 -05:00
Evan Miller
19b5e24d5c
Update hashmaps3.rs description for clarity
I struggled with this exercise and didn't understand that it was looking for a summary of goals scored/conceded per team, instead of per match.

My goal here is just to clarify the language, essentially saying "the total number of goals the team scored" to indicate that we are looking for a sum.

Updated the exercise description to clarify this point.

Relates loosely to closed issue https://github.com/rust-lang/rustlings/issues/1361
2024-03-04 10:38:09 -05:00
Guizoul
1da82a0eab docs: Added comment for handling equal numbers in if/if1.rs bigger function 2024-02-28 14:19:05 +01:00
Jan
75ee0e4245
Clarified hint text 2024-02-12 18:13:20 +01:00
luvchurchill
53c40024d8
Added .git to end of Repo's https URL
The install.sh script didn't work for me, after I changed this locally it worked
URL needs to end in .git
2024-02-06 01:54:04 +02:00
LeverImmy
bcb192c707 chore: fixed minor typo 2024-02-04 10:51:06 +08:00
Peter Neave
6072ec16a0 fix: Ensure scripts have LF line endings
Use gitattributes file to ensure script files have LF line endings. This solves a problem for users who wish to use DevContainers on Windows machines and the file has been cloned from the repository with CRLF line endings.
2024-01-24 09:30:49 +11:00
reifenrath-dev
b70ed105db chore: update from_into.rs task description to fit the code 2024-01-19 11:18:54 +01:00
liv
8d0aa11a35
Merge pull request #1826 from rust-lang/all-contributors/add-gerases
docs: add gerases as a contributor for content
2024-01-15 14:52:04 +00:00
allcontributors[bot]
e2674498c6
docs: update .all-contributorsrc [skip ci] 2024-01-15 14:51:48 +00:00
allcontributors[bot]
3200581d4d
docs: update AUTHORS.md [skip ci] 2024-01-15 14:51:47 +00:00
liv
6afc4840b4
Merge pull request #1819 from gerases/grammar-fix
Correct for more standard English
2024-01-15 14:51:31 +00:00
Sergei Gerasenko
93aef73eb5 Correct for more standard English 2024-01-09 10:17:03 -06:00
Paul Leydier
5453fad991 docs: sort exercise to book chapter mapping by exercise 2023-12-18 21:16:18 -05:00
NicolasRoelandt
f35f63fa57
Remove confusing aside in 23_conversions/from_str.rs
The advice tell us how to return as String error message. Unless I missed something, we can't even return a String error message here, so this advice is more confusing than anything and should better be removed.
2023-12-08 17:52:21 +00:00
liv
88b583f2bb
Merge pull request #1793 from rust-lang/all-contributors/add-bastianpedersen
docs: add bastianpedersen as a contributor for content
2023-11-29 17:39:57 +01:00
allcontributors[bot]
8863855627
docs: update .all-contributorsrc [skip ci] 2023-11-29 16:39:44 +00:00
allcontributors[bot]
5bbdb3d5ba
docs: update AUTHORS.md [skip ci] 2023-11-29 16:39:43 +00:00
liv
9f4b5566db
Merge pull request #1769 from bastianpedersen/patch-1
docs: reword `clippy1` exercise to be more readable
2023-11-29 17:39:28 +01:00
liv
f97f4bc4f1
Merge pull request #1792 from rust-lang/all-contributors/add-neuschaefer
docs: add neuschaefer as a contributor for code
2023-11-29 17:34:16 +01:00
allcontributors[bot]
3e7f1e3ff2
docs: update .all-contributorsrc [skip ci] 2023-11-29 16:33:59 +00:00
allcontributors[bot]
4b80097817
docs: update AUTHORS.md [skip ci] 2023-11-29 16:33:58 +00:00
liv
7f530ebf20
Merge pull request #1783 from neuschaefer/fe-nish
Fe-nish line rendering improvements
2023-11-29 17:33:41 +01:00
liv
11e74147ae
Merge pull request #1791 from rust-lang/all-contributors/add-matthri
docs: add matthri as a contributor for code
2023-11-29 17:20:27 +01:00
allcontributors[bot]
5d78a2f103
docs: update .all-contributorsrc [skip ci] 2023-11-29 16:10:38 +00:00
allcontributors[bot]
194e0b951d
docs: update AUTHORS.md [skip ci] 2023-11-29 16:10:37 +00:00
liv
369a3d3678
Merge pull request #1775 from matthri/update-notify-v6
Update `notify` dependency to v6
2023-11-29 17:10:21 +01:00
parnavh
21b1e6ecf8 fix(move_semantics): removed unused mut 2023-11-22 22:06:17 +05:30
J. Neuschäfer
12d1bf407a feat(watch): Add red color to the finishing ferris
This adds some eye-candy for users who finish Rustlings. It is based on
ANSI terminal escape sequences and should work in most environments.
2023-11-22 02:07:52 +01:00
J. Neuschäfer
5c4821ac6f fix(watch): Fix rendering of the finishing ferris
In commit 571bab2 ("Run clippy --fix"), the "" string was changed to
r"", even though it contains an intentional escape sequence, which now
looks wrong. My commit undoes this change:

Before:

	+----------------------------------------------------+
	|          You made it to the Fe-nish line!          |
	+--------------------------  ------------------------+
				  \\/
	     ▒▒          ▒▒▒▒▒▒▒▒      ▒▒▒▒▒▒▒▒          ▒▒
	   ▒▒▒▒  ▒▒    ▒▒        ▒▒  ▒▒        ▒▒    ▒▒  ▒▒▒▒
	   ▒▒▒▒  ▒▒  ▒▒            ▒▒            ▒▒  ▒▒  ▒▒▒▒
	 ░░▒▒▒▒░░▒▒  ▒▒            ▒▒            ▒▒  ▒▒░░▒▒▒▒
	   ▓▓▓▓▓▓▓▓  ▓▓      ▓▓██  ▓▓  ▓▓██      ▓▓  ▓▓▓▓▓▓▓▓
	     ▒▒▒▒    ▒▒      ████  ▒▒  ████      ▒▒░░  ▒▒▒▒
	       ▒▒  ▒▒▒▒▒▒        ▒▒▒▒▒▒        ▒▒▒▒▒▒  ▒▒
		 ▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▓▓▒▒▓▓▒▒▒▒▒▒▒▒
		   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
		     ▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒
		   ▒▒  ▒▒▒▒▒▒▒▒▒▒██████▒▒▒▒▒▒▒▒▒▒  ▒▒
		 ▒▒    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒    ▒▒
	       ▒▒    ▒▒    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒    ▒▒    ▒▒
	       ▒▒  ▒▒    ▒▒                  ▒▒    ▒▒  ▒▒
		   ▒▒  ▒▒                      ▒▒  ▒▒


After:

	+----------------------------------------------------+
	|          You made it to the Fe-nish line!          |
	+--------------------------  ------------------------+
				   \/
	     ▒▒          ▒▒▒▒▒▒▒▒      ▒▒▒▒▒▒▒▒          ▒▒
	   ▒▒▒▒  ▒▒    ▒▒        ▒▒  ▒▒        ▒▒    ▒▒  ▒▒▒▒
	   ▒▒▒▒  ▒▒  ▒▒            ▒▒            ▒▒  ▒▒  ▒▒▒▒
	 ░░▒▒▒▒░░▒▒  ▒▒            ▒▒            ▒▒  ▒▒░░▒▒▒▒
	   ▓▓▓▓▓▓▓▓  ▓▓      ▓▓██  ▓▓  ▓▓██      ▓▓  ▓▓▓▓▓▓▓▓
	     ▒▒▒▒    ▒▒      ████  ▒▒  ████      ▒▒░░  ▒▒▒▒
	       ▒▒  ▒▒▒▒▒▒        ▒▒▒▒▒▒        ▒▒▒▒▒▒  ▒▒
		 ▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▓▓▒▒▓▓▒▒▒▒▒▒▒▒
		   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
		     ▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒
		   ▒▒  ▒▒▒▒▒▒▒▒▒▒██████▒▒▒▒▒▒▒▒▒▒  ▒▒
		 ▒▒    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒    ▒▒
	       ▒▒    ▒▒    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒    ▒▒    ▒▒
	       ▒▒  ▒▒    ▒▒                  ▒▒    ▒▒  ▒▒
		   ▒▒  ▒▒                      ▒▒  ▒▒

Running `cargo clippy` (version 0.1.70) after this commit does not
reveal any new warnings.

Fixes: 571bab2 ("Run clippy --fix")
2023-11-22 02:07:36 +01:00
Matthias Richter
adf7d1b975 chore(watch): update notify dependency to v6
closes #1640
2023-11-17 00:56:02 +01:00
liv
14e423fe53
Merge pull request #1770 from a-rustacean/revert-1761-all-contributors/add-sarupbanskota
Revert "docs: add sarupbanskota as a contributor for doc"
2023-11-16 18:16:46 +01:00
liv
a49f231b5d
Merge pull request #1768 from adwsingh/main
Revert "Add CodeCrafters"
2023-11-16 18:12:34 +01:00
liv
70f472484f docs: revert fancy install aliases 2023-11-14 15:49:52 +01:00
jbouganim-parallel
0f629a47a5
fix broken link in windows installation instructions
https://github.com/rust-lang/rustlings/issues/1759
2023-11-13 17:30:38 -08:00
Dilshad
f01f2d13c7
Revert "docs: add sarupbanskota as a contributor for doc" 2023-11-12 22:19:40 +05:30
Bastian Pedersen
3461c4f73d
Reword clippy1 exercise to be more readable 2023-11-12 11:39:14 +01:00
Adwait Kumar Singh
4d6cd0ebb4 Revert "Add CodeCrafters"
This reverts commit dad2216984.
2023-11-11 16:39:44 -08:00
junderw
3080141c5f
Fix gitignore for clippy exercise 2023-11-10 23:19:23 -07:00
liv
bc3808cf29
Merge pull request #1761 from rust-lang/all-contributors/add-sarupbanskota
docs: add sarupbanskota as a contributor for doc
2023-11-07 10:14:14 +01:00
allcontributors[bot]
761fced786
docs: update .all-contributorsrc [skip ci] 2023-11-07 09:13:12 +00:00
allcontributors[bot]
706e075908
docs: update AUTHORS.md [skip ci] 2023-11-07 09:13:11 +00:00
liv
a13c7b0ae3
Merge pull request #1760 from sarupbanskota/patch-3
Add CodeCrafters to `Continuing On`
2023-11-07 10:12:55 +01:00
Sarup Banskota
dad2216984
Add CodeCrafters 2023-11-07 13:02:59 +08:00
liv
7e12aaa24a
Merge pull request #1758 from rust-lang/all-contributors/add-raymon-roos
docs: add raymon-roos as a contributor for content
2023-11-06 12:42:13 +01:00