Skip to content

Commit 64193a9

Browse files
committed
Remove unnecessary suffixes
1 parent 47baebc commit 64193a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustc/middle/trans/datum.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ impl Datum {
620620
ty::ty_enum(did, ref substs) => {
621621
// Check whether this enum is a newtype enum:
622622
let variants = ty::enum_variants(ccx.tcx, did);
623-
if (*variants).len() != 1u || variants[0].args.len() != 1u {
623+
if (*variants).len() != 1 || variants[0].args.len() != 1 {
624624
return None;
625625
}
626626

0 commit comments

Comments
 (0)