Inspectopedia
 
2024.3

Redundant `#[must_use]`

Info
New
Last modified: 03 December 2024

Checks for a #[must_use] attribute without further information on functions and methods that return a type already marked as #[must_use]. Corresponds to double_must_use lint from Rust Clippy.