1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-16 10:51:42 +02:00

Improve the placement of TODO comments

This commit is contained in:
mo8it 2024-07-02 16:26:28 +02:00
parent 95f10c8068
commit d3a0c26999
3 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,5 @@
// We sometimes encourage you to keep trying things on a given exercise, even // TODO: We sometimes encourage you to keep trying things on a given exercise,
// after you already figured it out. If you got everything working and feel // even after you already figured it out. If you got everything working and feel
// ready for the next exercise, enter `n` in the terminal. // ready for the next exercise, enter `n` in the terminal.
// //
// The exercise file will be reloaded when you change one of the lines below! // The exercise file will be reloaded when you change one of the lines below!

View File

@ -1,5 +1,4 @@
// TODO: Fix the code to print "Hello world!".
fn main() { fn main() {
// TODO: Fix the code to print "Hello world!".
printline!("Hello world!"); printline!("Hello world!");
} }

View File

@ -1,5 +1,4 @@
// TODO: Fix the compiler error. // TODO: Fix the compiler error.
fn main() { fn main() {
let x = 3; let x = 3;
println!("Number {x}"); println!("Number {x}");