RBE variable bindings

This commit is contained in:
Dan Buch 2021-09-29 11:35:26 -04:00
parent 052fb87667
commit eac3c2d8a6
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7
2 changed files with 17 additions and 0 deletions

View File

@ -1,7 +1,9 @@
/custom_types/*
/hello/*
/primitives/*
/variable_bindings/*
!/custom_types/*.rs
!/hello/*.rs
!/primitives/*.rs
!/variable_bindings/*.rs

View File

@ -0,0 +1,15 @@
fn main() {
let an_integer = 1u32;
let a_boolean = true;
let unit = ();
let copied_integer = an_integer;
println!("An integer: {:?}", copied_integer);
println!("A boolean: {:?}", a_boolean);
println!("Meet the unit value: {:?}", unit);
let _unused_variable = 3u32;
let noisy_unused_variable = 2u32;
}