summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliv <mokou@fastmail.com>2023-11-29 17:33:41 +0100
committerGitHub <noreply@github.com>2023-11-29 17:33:41 +0100
commit7f530ebf208da8192832c0f100a0e52dcf8b9583 (patch)
tree7675a5a1cfdef89a95a52b60dec8505d25405dcb
parent11e74147ae7a993001e401bfb0a8452270946ed8 (diff)
parent12d1bf407ad85da0b1f0c062564af68117ae6111 (diff)
Merge pull request #1783 from neuschaefer/fe-nish
Fe-nish line rendering improvements
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index f17d9d9..a06f0c5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -443,10 +443,10 @@ started, here's a couple of notes about how Rustlings operates:
Got all that? Great! To get started, run `rustlings watch` in order to get the first
exercise. Make sure to have your editor open!"#;
-const FENISH_LINE: &str = r"+----------------------------------------------------+
+const FENISH_LINE: &str = "+----------------------------------------------------+
| You made it to the Fe-nish line! |
+-------------------------- ------------------------+
- \\/
+ \\/\x1b[31m
▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒
▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒
▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒
@@ -461,7 +461,7 @@ const FENISH_LINE: &str = r"+---------------------------------------------------
▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒
▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒
▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒
- ▒▒ ▒▒ ▒▒ ▒▒
+ ▒▒ ▒▒ ▒▒ ▒▒\x1b[0m
We hope you enjoyed learning about the various aspects of Rust!
If you noticed any issues, please don't hesitate to report them to our repo.