Skip to content

Glossary: Rust Basics

Block

Also written: blocks

Code between braces `{ }`. The last expression in a block, with no semicolon, is the block's value.

Where the book teaches it

Related terms

ScopeExpression