Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
antoyo committed Aug 13, 2024
1 parent b70a1ec commit b4ef898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build_system/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl TestArg {
test_arg.sysroot_features.push(feature);
}
_ => {
return Err(format!("Expected an argument after `{}`, found nothing", arg))
return Err(format!("Expected an argument after `{}`, found nothing", arg));
}
},
"--help" => {
Expand Down
6 changes: 1 addition & 5 deletions src/intrinsic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -670,11 +670,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {
let step3 = self.or(left, right);

// Fourth step.
if width == 8 {
step3
} else {
self.gcc_bswap(step3, width)
}
if width == 8 { step3 } else { self.gcc_bswap(step3, width) }
}
128 => {
// TODO(antoyo): find a more efficient implementation?
Expand Down

0 comments on commit b4ef898

Please sign in to comment.