This commit is contained in:
stephan.klauberg 2023-09-16 07:24:01 +02:00
parent 51c8da06b0
commit 4e990d5f52
4 changed files with 9 additions and 5 deletions

View File

@ -13,7 +13,7 @@
// Execute `rustlings hint intro1` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
// I AM DONE
fn main() {
println!("Hello and");

View File

@ -5,8 +5,9 @@
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
// I AM DONE
fn main() {
println!("Hello {}!");
let my_greeting="World";
println!("Hello {my_greeting}!");
}

View File

@ -5,9 +5,9 @@
// Execute `rustlings hint variables1` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
// I AM DONE
fn main() {
x = 5;
let x = 5;
println!("x has the value {}", x);
}

3
myrustlings_watch.cmd Normal file
View File

@ -0,0 +1,3 @@
cargo build
::target\release\rustlings.exe watch
target\debug\rustlings.exe watch