about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2024-08-13 13:03:25 -0400
committerAntoni Boucher <bouanto@zoho.com>2024-08-13 13:03:25 -0400
commitb4ef8980a30cd44f71b01f1b48946dcec185db38 (patch)
tree5107479612d8f40c06f7682031e452333f290b83 /src
parentb70a1ec0b17a5f32feca23d6e289e4c8bf534c22 (diff)
downloadrust-b4ef8980a30cd44f71b01f1b48946dcec185db38.tar.gz
rust-b4ef8980a30cd44f71b01f1b48946dcec185db38.zip
Fix formatting
Diffstat (limited to 'src')
-rw-r--r--src/intrinsic/mod.rs6
1 files changed, 1 insertions, 5 deletions
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?