mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 02:39:20 +00:00
fix: eliminate warns
This commit is contained in:
parent
30a6f84e5f
commit
b838154c8c
3 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue