Skip to content

Commit

Permalink
Clippy 1.75 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat-Lafon committed Jan 4, 2024
1 parent 188cd38 commit d3845a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bril-rs/brild/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ fn locate_import<S: BuildHasher>(
eprintln!("Warning, more than one valid path for {path:?} was found, using the first one.");
}

let next_path = canonicalize(located_libs.get(0).unwrap().join(path))?;
let next_path = canonicalize(located_libs.first().unwrap().join(path))?;

do_import(path_map, &next_path, libs, is_toplevel)?;

Expand Down

0 comments on commit d3845a8

Please sign in to comment.