diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2024-08-13 13:03:25 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2024-08-13 13:03:25 -0400 |
| commit | b4ef8980a30cd44f71b01f1b48946dcec185db38 (patch) | |
| tree | 5107479612d8f40c06f7682031e452333f290b83 | |
| parent | b70a1ec0b17a5f32feca23d6e289e4c8bf534c22 (diff) | |
| download | rust-b4ef8980a30cd44f71b01f1b48946dcec185db38.tar.gz rust-b4ef8980a30cd44f71b01f1b48946dcec185db38.zip | |
Fix formatting
| -rw-r--r-- | build_system/src/test.rs | 2 | ||||
| -rw-r--r-- | src/intrinsic/mod.rs | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/build_system/src/test.rs b/build_system/src/test.rs index 6454005b139..303a2e518cf 100644 --- a/build_system/src/test.rs +++ b/build_system/src/test.rs @@ -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" => { diff --git a/src/intrinsic/mod.rs b/src/intrinsic/mod.rs index 252b9b6fad6..d95a7782fa0 100644 --- a/src/intrinsic/mod.rs +++ b/src/intrinsic/mod.rs @@ -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? |
