mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-08 03:39:18 +00:00
import
This commit is contained in:
parent
4e990d5f52
commit
c98e5af5df
@ -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 {
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user