C-bugI-false-negativegood first issue
Repository metrics
- Stars
- (10,406 stars)
- PR merge metrics
- (平均マージ 19d 22h) (30d で 113 merged PRs)
説明
What it does
Suggests turning let _unused = returns_nothing(); to returns_nothing();
Advantage
Increases code hygiene
Drawbacks
None
Example
let _unused: () = returns_nothing();
Could be written as:
returns_nothing();
Comparison with existing lints
No similar lints were found
Additional Context
A quick Github search shows around 116 thousand instances of the aforementioned example