mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-09 20:29:18 +00:00
lening:variables1
This commit is contained in:
parent
a2f0401c4c
commit
59d87b88f0
@ -9,6 +9,6 @@
|
|||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
x = 5;
|
const X: u8 = 5;
|
||||||
println!("x has the value {}", x);
|
println!("x has the value {}", X);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user