about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorEduardo Sánchez Muñoz <eduardosm-dev@e64.io>2024-09-09 12:22:00 +0200
committerEduardo Sánchez Muñoz <eduardosm-dev@e64.io>2024-09-09 13:32:22 +0200
commit0b20ffcb63b00acbbe70ae6f59a746bcde4c8b96 (patch)
treec180e16946093089cae099b227d33c675805b07a /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentadf8d168af9334a8bf940824fcf4207d01e05ae5 (diff)
downloadrust-0b20ffcb63b00acbbe70ae6f59a746bcde4c8b96.tar.gz
rust-0b20ffcb63b00acbbe70ae6f59a746bcde4c8b96.zip
Remove needless returns detected by clippy in the compiler
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs
index d55220ba5c3..6e4ddbb6f3b 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -290,7 +290,7 @@ pub(crate) fn check_tied_features(
             }
         }
     }
-    return None;
+    None
 }
 
 /// Used to generate cfg variables and apply features