diff options
| author | mo8it <mo8it@proton.me> | 2024-07-02 16:26:28 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-07-02 16:26:28 +0200 |
| commit | d3a0c269994eb2b11c0a3418e4db3a275a7ee5ad (patch) | |
| tree | fdf83a923ee89f5fa689cc0fd93c955a5f586d2a | |
| parent | 95f10c80689db6b156ced7fa43bd56309137cc7f (diff) | |
Improve the placement of TODO comments
| -rw-r--r-- | exercises/00_intro/intro1.rs | 4 | ||||
| -rw-r--r-- | exercises/00_intro/intro2.rs | 3 | ||||
| -rw-r--r-- | exercises/01_variables/variables4.rs | 1 |
3 files changed, 3 insertions, 5 deletions
diff --git a/exercises/00_intro/intro1.rs b/exercises/00_intro/intro1.rs index bdbf34b..22544cd 100644 --- a/exercises/00_intro/intro1.rs +++ b/exercises/00_intro/intro1.rs @@ -1,5 +1,5 @@ -// We sometimes encourage you to keep trying things on a given exercise, even -// after you already figured it out. If you got everything working and feel +// TODO: We sometimes encourage you to keep trying things on a given exercise, +// even after you already figured it out. If you got everything working and feel // ready for the next exercise, enter `n` in the terminal. // // The exercise file will be reloaded when you change one of the lines below! diff --git a/exercises/00_intro/intro2.rs b/exercises/00_intro/intro2.rs index e443ec8..c6cb645 100644 --- a/exercises/00_intro/intro2.rs +++ b/exercises/00_intro/intro2.rs @@ -1,5 +1,4 @@ -// TODO: Fix the code to print "Hello world!". - fn main() { + // TODO: Fix the code to print "Hello world!". printline!("Hello world!"); } diff --git a/exercises/01_variables/variables4.rs b/exercises/01_variables/variables4.rs index 8634ceb..6c138b1 100644 --- a/exercises/01_variables/variables4.rs +++ b/exercises/01_variables/variables4.rs @@ -1,5 +1,4 @@ // TODO: Fix the compiler error. - fn main() { let x = 3; println!("Number {x}"); |
