diff --git a/Examples.md b/Examples.md index 9b809b4..3f230ca 100644 --- a/Examples.md +++ b/Examples.md @@ -605,6 +605,8 @@ fn main() { x_cube + x_squared + x }; + + let z = { // Final semicolon discards value; `z` ← `()` 2 * x; @@ -641,7 +643,6 @@ fn main println! "x is {:?}", x println! "y is {:?}", y println! "z is {:?}", z -} ```