Skip to content

Commit 2715ba1

Browse files
committed
build-manifest: apply considerable clippy suggestions
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent 643e410 commit 2715ba1

File tree

1 file changed

+1
-1
lines changed
  • src/tools/build-manifest/src

1 file changed

+1
-1
lines changed

src/tools/build-manifest/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ impl Builder {
494494
Some(p) => p,
495495
None => return false,
496496
};
497-
pkg.target.get(&c.target).is_some()
497+
pkg.target.contains_key(&c.target)
498498
};
499499
extensions.retain(&has_component);
500500
components.retain(&has_component);

0 commit comments

Comments
 (0)