Skip to content

Commit 27fa7c3

Browse files
committed
Move the const string to the bottom like others
1 parent 0d93266 commit 27fa7c3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/main.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,6 @@ mod project;
2626
mod run;
2727
mod verify;
2828

29-
const WATCH_MODE_HELP_MESSAGE: &str = "Commands available to you in watch mode:
30-
hint - prints the current exercise's hint
31-
clear - clears the screen
32-
quit - quits watch mode
33-
!<cmd> - executes a command, like `!rustc --explain E0381`
34-
help - displays this help message
35-
36-
Watch mode automatically re-evaluates the current exercise
37-
when you edit a file's contents.";
38-
3929
/// Rustlings is a collection of small exercises to get you used to writing and reading Rust code
4030
#[derive(Parser)]
4131
#[command(version)]
@@ -490,3 +480,13 @@ const WELCOME: &str = r" welcome to...
490480
| | | |_| \__ \ |_| | | | | | (_| \__ \
491481
|_| \__,_|___/\__|_|_|_| |_|\__, |___/
492482
|___/";
483+
484+
const WATCH_MODE_HELP_MESSAGE: &str = "Commands available to you in watch mode:
485+
hint - prints the current exercise's hint
486+
clear - clears the screen
487+
quit - quits watch mode
488+
!<cmd> - executes a command, like `!rustc --explain E0381`
489+
help - displays this help message
490+
491+
Watch mode automatically re-evaluates the current exercise
492+
when you edit a file's contents.";

0 commit comments

Comments
 (0)