Commit graph

2969 commits

Author SHA1 Message Date
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
Daniel Somerfield 8bfe2ec71e Fix all_fruits_types_in_basket to fail if all fruit kinds are not included 2023-11-21 14:02:26 -08: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
Matthias Richter 77b687d501 fix(enums) make enum variants more consistent
closes #1545
2023-11-14 08:19:40 +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
allcontributors[bot] 6e7f1f5f07
docs: update .all-contributorsrc [skip ci] 2023-11-06 11:39:55 +00:00
allcontributors[bot] e0904de6ea
docs: update AUTHORS.md [skip ci] 2023-11-06 11:39:54 +00:00
liv 4ecc35131c
Merge pull request #1754 from raymon-roos/fix/traits-03-hint
fix(traits3): grammar mistake in the hint for traits3
2023-11-06 12:39:38 +01:00
liv 22838ba227
Merge pull request #1757 from rust-lang/all-contributors/add-danieltinazzi
docs: add danieltinazzi as a contributor for content
2023-11-06 12:38:27 +01:00
allcontributors[bot] 3b34167924
docs: update .all-contributorsrc [skip ci] 2023-11-06 11:38:20 +00:00
allcontributors[bot] cb47760978
docs: update AUTHORS.md [skip ci] 2023-11-06 11:38:19 +00:00
liv fb327612f8
Merge pull request #1753 from danieltinazzi/main
Fix progress bar
2023-11-06 12:38:01 +01:00
Raymon Roos 7e16e7721a fix(traits3): grammar mistake in the hint for traits3 2023-11-05 15:30:47 +01:00
danieltinazzi 3181d9f3f8 fix progress bar count 2023-11-04 17:29:10 +01:00
liv 02b1b5f6ab
Merge pull request #1749 from rust-lang/all-contributors/add-0atman
docs: add 0atman as a contributor for content
2023-11-02 10:03:46 +01:00
allcontributors[bot] 9de432e6bf
docs: update .all-contributorsrc [skip ci] 2023-11-02 09:03:38 +00:00
allcontributors[bot] 24f819d823
docs: update AUTHORS.md [skip ci] 2023-11-02 09:03:37 +00:00
liv 13837b25cf
Merge pull request #1735 from 0atman/main
fix(intro2): Changed intro2 to be a name error, not a format string error
2023-11-02 10:01:48 +01:00
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