Code Maven
Slides
About
Press ? for keyboard navigation
❮
Default path - return PathBuf
Conditional: if
❯
Conditional operation and boolean values in Rust
Conditional: if
Conditional: if - else
Conditional: else - if
Rust: boolean values true and false
Assign result of conditional to variable
Rust: other types don't have true/false values
Toggle
if-else returns a value
Conditional (Ternary) operator
match
match with conditions