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