Fix formatting

This commit is contained in:
Antoni Boucher 2024-08-13 13:03:25 -04:00
parent b70a1ec0b1
commit b4ef8980a3
2 changed files with 2 additions and 6 deletions

View File

@ -133,7 +133,7 @@ fn new() -> Result<Option<Self>, String> {
test_arg.sysroot_features.push(feature); 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" => { "--help" => {

View File

@ -670,11 +670,7 @@ fn bit_reverse(&mut self, width: u64, value: RValue<'gcc>) -> RValue<'gcc> {
let step3 = self.or(left, right); let step3 = self.or(left, right);
// Fourth step. // Fourth step.
if width == 8 { if width == 8 { step3 } else { self.gcc_bswap(step3, width) }
step3
} else {
self.gcc_bswap(step3, width)
}
} }
128 => { 128 => {
// TODO(antoyo): find a more efficient implementation? // TODO(antoyo): find a more efficient implementation?