Skip to content

Commit 842f0a7

Browse files
committed
fix: path to find_crates()
`find_crates()` now returns a slice, since it caches the results. This means it is espensive to call the function the first time, but not nearly so when executed again. Since we just care about the length of the slice, nothing changes for us.
1 parent 976b6fc commit 842f0a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bevy_lint/src/lints/nursery/duplicate_bevy_dependencies.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ use cargo_metadata::{
6969
};
7070
use clippy_utils::{
7171
diagnostics::{span_lint, span_lint_and_then},
72-
find_crates,
72+
paths::find_crates,
7373
};
7474
use rustc_hir::def_id::LOCAL_CRATE;
7575
use rustc_lint::LateContext;

0 commit comments

Comments
 (0)