mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00: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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |