fix: eliminate warns

This commit is contained in:
Shunsuke Shibayama 2023-11-18 16:11:22 +09:00
parent 30a6f84e5f
commit b838154c8c
3 changed files with 3 additions and 3 deletions

View file

@ -491,7 +491,7 @@ impl<'a> HIRLinker<'a> {
if !mod_path
.canonicalize()
.unwrap()
.starts_with(&dir.canonicalize().unwrap())
.starts_with(dir.canonicalize().unwrap())
{
dir = PathBuf::new();
}