instatiating a variable

This commit is contained in:
Hariettemaina 2022-09-08 17:13:08 +03:00
parent fe71a45ad2
commit 0a9f69fb83
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
// variables2.rs
// Execute `rustlings hint variables2` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE
fn main() {
let x: i32 = 10;

View File

@ -4,6 +4,6 @@
// I AM NOT DONE
fn main() {
let x: i32;
let x: i32 = 10;
println!("Number {}", x);
}