1 2 3
[[Statement vs expression]] An if statement is not a statement in rust! It is an expression! Thus we can use it in an assignment for example.