mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-17 09:45:01 +01:00
Compare commits
7 commits
6c67c7e12d
...
ccb3612511
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ccb3612511 | ||
|
|
21a4843791 | ||
|
|
2031a180b7 | ||
|
|
1e46e75c6e | ||
|
|
a70aedada5 | ||
|
|
fdf0066e58 | ||
|
|
33c32bc0e7 |
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()
|
||||
.all(|known_path| candidate.has_prefix(known_path))
|
||||
.any(|known_path| candidate.has_prefix(known_path))
|
||||
{
|
||||
appropriate_layer_no = Some(no);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue