1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-09-16 09:36:41 +02:00

Fix blocks-and-scopes.md after code review (#2901)

Thanks to @fw-immunant and @qwandor for the comments in #2887.
This commit is contained in:
Martin Geisler
2025-09-11 11:36:45 +02:00
committed by GitHub
parent 4731acf53f
commit 1a5d9949ad

View File

@@ -4,8 +4,9 @@ minutes: 5
# Blocks and Scopes
A block in Rust contains a sequence of expressions, enclosed by braces {}. The
final expression of a block determines the value and type of the whole block:
- A block in Rust contains a sequence of expressions, enclosed by braces `{}`.
- The final expression of a block determines the value and type of the whole
block.
```rust,editable
fn main() {