mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Fix 1.80 cargo clippy errors (#1834)
Fix 1.80 clippy lint errors Fix 1.80 linting Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
53f342ab1c
commit
871e1eaf68
2 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,7 @@ pub struct Config {
|
|||
|
||||
fn join_if_relative(path: Option<&mut PathBuf>, dir: &Path) {
|
||||
match path {
|
||||
Some(path) if path.is_relative() => *path = dir.join(&path),
|
||||
Some(path) if path.is_relative() => *path = dir.join(&*path),
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue