* control-flow: blocks: clarify prose around block values/types
specify what determines the type of a block
move the last expression note to the discussion of blocks rather than functions to clarify that it applies to both
* control-flow: if-let: correct sense of 'non-returning'
* Cleanup control flow slides
This avoids calling all the looping constructs “expressions” since
they all (except for `loop`) return trivial values.
---------
Co-authored-by: Dustin J. Mitchell <djmitche@google.com>
* Update if-let-expressions.md
add a note about let-else expressions. Closes#536
* Remove old mention of let-else
* Indent code block to match the bullet point
---------
Co-authored-by: Martin Geisler <martin@geisler.net>
* Update match-expressions.md
* Apply suggestions from code review
Fine tuning the casing and explanations.
---------
Co-authored-by: Martin Geisler <mgeisler@google.com>
* Update if-expressions.md
Adding a note about types of `if` branch blocks.
* Fix typo and simplify.
Co-authored-by: Andrew Walbran <qwandor@google.com>