Skip to content

Commit a0aaa12

Browse files
committed
clippy'ed
1 parent 77c3d6e commit a0aaa12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/config/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ impl Config {
937937
&& hosts == [host_target]
938938
{
939939
let no_llvm_config =
940-
target_config.get(&host_target).map_or(true, |config| config.llvm_config.is_none());
940+
target_config.get(&host_target).is_none_or(|config| config.llvm_config.is_none());
941941
rust_lld_enabled.unwrap_or(llvm_from_ci || no_llvm_config)
942942
} else {
943943
rust_lld_enabled.unwrap_or(false)

0 commit comments

Comments
 (0)