mirror of
https://github.com/andwati/rustlings.git
synced 2026-11-20 10:58:46 +00:00
functions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
fn main() {
|
||||
// TODO: Change the line below to fix the compiler error.
|
||||
let x;
|
||||
let x = 10;
|
||||
|
||||
if x == 10 {
|
||||
println!("x is ten!");
|
||||
|
||||
Reference in New Issue
Block a user