We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a75ab30 commit af095dbCopy full SHA for af095db
clippy_lints/src/utils/mod.rs
@@ -76,7 +76,7 @@ pub fn parse_msrv(msrv: &str, sess: Option<&Session>, span: Option<Span>) -> Opt
76
}
77
78
pub fn meets_msrv(msrv: Option<&RustcVersion>, lint_msrv: &RustcVersion) -> bool {
79
- msrv.map_or(true, |msrv| msrv > lint_msrv)
+ msrv.map_or(true, |msrv| msrv >= lint_msrv)
80
81
82
macro_rules! extract_msrv_attr {
0 commit comments