Let Control Flow
Rust has a few control flow constructs that differ from other languages. They are used for pattern matching:
if letexpressionswhile letexpressionslet elseexpressions
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Rust has a few control flow constructs that differ from other languages. They are used for pattern matching:
if let expressionswhile let expressionslet else expressions