This commit is contained in:
Stephan Klauberg 2023-09-16 07:33:44 +02:00
parent 4e990d5f52
commit c98e5af5df
2 changed files with 4 additions and 4 deletions

View File

@ -3,10 +3,10 @@
// Execute `rustlings hint variables2` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
// I AM DONE
fn main() {
let x;
let x:i32=10;
if x == 10 {
println!("x is ten!");
} else {

View File

@ -3,9 +3,9 @@
// Execute `rustlings hint variables3` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
// I AM DONE
fn main() {
let x: i32;
let x: i32=1;
println!("Number {}", x);
}