Skip to content

Commit 313967d

Browse files
authored
Fix lint errors with Rust 1.73 (#597)
To unblock #596. Fixed using `cargo clippy --all-targets --fix`. `warning: matching over () is more explicit` https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns As seen in: https://github.com/heroku/buildpacks-jvm/actions/runs/6456042926/job/17524720674?pr=596 GUS-W-14258360.
1 parent 209ba81 commit 313967d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildpacks/maven/src/settings.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn handle_maven_settings_url_env_var(env: &Env) -> Option<Result<PathBuf, Settin
4545
error,
4646
)
4747
})
48-
.map(|_| path)
48+
.map(|()| path)
4949
})
5050
}
5151

0 commit comments

Comments
 (0)