Skip to content

Commit b4ef898

Browse files
committed
Fix formatting
1 parent b70a1ec commit b4ef898

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

build_system/src/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl TestArg {
133133
test_arg.sysroot_features.push(feature);
134134
}
135135
_ => {
136-
return Err(format!("Expected an argument after `{}`, found nothing", arg))
136+
return Err(format!("Expected an argument after `{}`, found nothing", arg));
137137
}
138138
},
139139
"--help" => {

src/intrinsic/mod.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -670,11 +670,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {
670670
let step3 = self.or(left, right);
671671

672672
// Fourth step.
673-
if width == 8 {
674-
step3
675-
} else {
676-
self.gcc_bswap(step3, width)
677-
}
673+
if width == 8 { step3 } else { self.gcc_bswap(step3, width) }
678674
}
679675
128 => {
680676
// TODO(antoyo): find a more efficient implementation?

0 commit comments

Comments
 (0)