mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
Improve the placement of TODO comments
This commit is contained in:
parent
95f10c8068
commit
d3a0c26999
|
@ -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!
|
||||||
|
|
|
@ -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!");
|
||||||
}
|
}
|
||||||
|
|
|
@ -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}");
|
||||||
|
|
Loading…
Reference in a new issue