fix clippy hint

master
Aleš Katona 2 years ago
parent 7b71252455
commit 57f3271155
Signed by: almindor
GPG Key ID: 2F773149BF38B48F

@ -138,9 +138,7 @@ impl Vcs {
for project in &self.projects {
let msrv = project.msrv();
if min_msrv.is_none() {
min_msrv = msrv;
} else if msrv.is_some() && msrv < min_msrv {
if min_msrv.is_none() || (msrv.is_some() && msrv < min_msrv) {
min_msrv = msrv;
}
}

Loading…
Cancel
Save