@Crell I should've clarified but I ran out of characters :p Semicolons after the last line in a block in Rust aren't optional, they do have semantic meaning, but they are optional in practice a lot of the time. For example, it usually makes no difference whether an if statement technically evaluates to a value or not, so in effect, the last semicolon in the body of an if statement is usually optional.