deaclare a variable

This commit is contained in:
Hariettemaina 2022-09-08 17:07:29 +03:00
parent c923e7af73
commit dd23da3ff0
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
// when you change one of the lines below! Try adding a `println!` line, or try changing
// what it outputs in your terminal. Try removing a semicolon and see what happens!
// I AM NOT DONE
fn main() {
println!("Hello and");

View File

@ -2,8 +2,8 @@
// Make the code print a greeting to the world.
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE
fn main() {
println!("Hello {}!");
println!("Hello world!");
}

View File

@ -5,6 +5,6 @@
// I AM NOT DONE
fn main() {
x = 5;
let x = 5;
println!("x has the value {}", x);
}