Skip to content

Commit 498bbc8

Browse files
committed
Rust: cargo clippy
1 parent 8053d5c commit 498bbc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/extractor/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ fn main() -> anyhow::Result<()> {
218218
let cargo_config = cfg.to_cargo_config(&cwd()?);
219219
for (manifest, files) in map.values().filter(|(_, files)| !files.is_empty()) {
220220
if let Some((ref db, ref vfs)) = extractor.load_manifest(manifest, &cargo_config) {
221-
crate_graph::extract_crate_graph(&extractor.traps, db, vfs);
221+
crate_graph::extract_crate_graph(extractor.traps, db, vfs);
222222
let semantics = Semantics::new(db);
223223
for file in files {
224224
match extractor.load_source(file, &semantics, vfs) {

0 commit comments

Comments
 (0)