Skip to content

Commit e685bbf

Browse files
committed
Remove unnecessary change.
1 parent ae5e845 commit e685bbf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/cargo/core/manifest.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -741,10 +741,7 @@ impl Target {
741741
self.kind == TargetKind::Bench
742742
}
743743
pub fn is_custom_build(&self) -> bool {
744-
match self.kind {
745-
TargetKind::CustomBuild => true,
746-
_ => false,
747-
}
744+
self.kind == TargetKind::CustomBuild
748745
}
749746

750747
/// Returns the arguments suitable for `--crate-type` to pass to rustc.

0 commit comments

Comments
 (0)