Skip to content

Commit

Permalink
Fix lint errors with Rust 1.73
Browse files Browse the repository at this point in the history
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
  • Loading branch information
edmorley committed Oct 9, 2023
1 parent 209ba81 commit a70a42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildpacks/maven/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn handle_maven_settings_url_env_var(env: &Env) -> Option<Result<PathBuf, Settin
error,
)
})
.map(|_| path)
.map(|()| path)
})
}

Expand Down

0 comments on commit a70a42c

Please sign in to comment.