mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-19 22:19:29 +02:00
This is for consistency: if a block returns `()`, and the last expression of the block also returns `()`, then the final `;` can be left out. However, this is a little confusing (I was asked about this in a class today) and it is inconsistent. See https://rust-lang.github.io/rust-clippy/master/index.html#/semicolon_if_nothing_returned for details.