Skip to content

Commit 4a7c138

Browse files
committed
build-manifest: apply considerable clippy suggestions
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent a5ef43e commit 4a7c138

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
@@ -495,7 +495,7 @@ impl Builder {
495495
Some(p) => p,
496496
None => return false,
497497
};
498-
pkg.target.get(&c.target).is_some()
498+
pkg.target.contains_key(&c.target)
499499
};
500500
extensions.retain(&has_component);
501501
components.retain(&has_component);

0 commit comments

Comments
 (0)