added block expression
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
fn add(a: I32, b: I32): I32 {
|
||||
let foo = 4;
|
||||
let test_float: F32 = 10.2;
|
||||
let test_float: F32 = {
|
||||
10.2
|
||||
};
|
||||
a + b + foo
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user