mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
e62a6cad1e
Add `unwrap_or_else_default` lint --- *Please write a short comment explaining your change (or "none" for internal only changes)* changelog: Add a new [`unwrap_or_else_default`] style lint. This will catch `unwrap_or_else(Default::default)` on Result and Option and suggest `unwrap_or_default()` instead.