mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-16 09:15:02 +01:00
Compare commits
7 commits
ccb3612511
...
6c67c7e12d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c67c7e12d | ||
|
|
7b28f80cd6 | ||
|
|
4af04f2191 | ||
|
|
f7b1ea31ee | ||
|
|
1f6cec7d7b | ||
|
|
963a1faf69 | ||
|
|
5d4605c8cc |
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ fn layer_candidates(mut candidates: Vec<AstPath>) -> Vec<Vec<AstPath>> {
|
|||
for (no, layer) in layers.iter().enumerate() {
|
||||
if !layer
|
||||
.iter()
|
||||
.any(|known_path| candidate.has_prefix(known_path))
|
||||
.all(|known_path| candidate.has_prefix(known_path))
|
||||
{
|
||||
appropriate_layer_no = Some(no);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue