mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-19 02:13:57 +00:00
![]() Suggest `return`ing tail expressions that match return type Some newcomers are confused by the behavior of tail expressions, interpreting that "leaving out the `;` makes it the return value". To help them go in the right direction, suggest using `return` instead when applicable. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |