diff --git a/src/control-flow/blocks.md b/src/control-flow/blocks.md index b86a3c40..f09f8bbf 100644 --- a/src/control-flow/blocks.md +++ b/src/control-flow/blocks.md @@ -36,3 +36,11 @@ fn main() { ``` However if the last expression ends with `;`, then the resulting value and type is `()`. + +
+ +Key Points: +* The point of this slide is to show that blocks have a type and value in Rust. +* You can show how the value of the block changes by changing the last line in the block. For instance, adding/removing a semicolon or using a `return`. + +