mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 21:29:18 +00:00
f
This commit is contained in:
parent
c2b67b25a6
commit
17db8de9b5
@ -1,8 +1,6 @@
|
||||
// variables2.rs
|
||||
// Execute `rustlings hint variables2` or use the `hint` watch subcommand for a hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
fn main() {
|
||||
let x: u32 = 10;
|
||||
if x == 10 {
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
// variables3.rs
|
||||
// Execute `rustlings hint variables3` or use the `hint` watch subcommand for a hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
fn main() {
|
||||
let x: i32;
|
||||
let x: i32 = 1;
|
||||
println!("Number {}", x);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user