about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-11-01 19:53:39 -0500
committerGitHub <noreply@github.com>2020-11-02 00:53:39 +0000
commit33355e69c2b90220b9668df06689a23d2efdbec5 (patch)
tree007187748844be7a117246cc56f8d9bb195b05e7 /library/stdarch/crates/std_detect
parent56e4b3dd1f6e0b1597d7e08a53482f3a865c18c1 (diff)
downloadrust-33355e69c2b90220b9668df06689a23d2efdbec5.tar.gz
rust-33355e69c2b90220b9668df06689a23d2efdbec5.zip
Fix some clippy lints (#937)
Diffstat (limited to 'library/stdarch/crates/std_detect')
-rw-r--r--library/stdarch/crates/std_detect/tests/cpu-detection.rs2
-rw-r--r--library/stdarch/crates/std_detect/tests/macro_trailing_commas.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/stdarch/crates/std_detect/tests/cpu-detection.rs b/library/stdarch/crates/std_detect/tests/cpu-detection.rs
index a95b1e73930..8f29ea45cde 100644
--- a/library/stdarch/crates/std_detect/tests/cpu-detection.rs
+++ b/library/stdarch/crates/std_detect/tests/cpu-detection.rs
@@ -1,5 +1,5 @@
 #![feature(stdsimd)]
-#![allow(clippy::option_unwrap_used, clippy::use_debug, clippy::print_stdout)]
+#![allow(clippy::unwrap_used, clippy::use_debug, clippy::print_stdout)]
 #![cfg(any(
     target_arch = "arm",
     target_arch = "aarch64",
diff --git a/library/stdarch/crates/std_detect/tests/macro_trailing_commas.rs b/library/stdarch/crates/std_detect/tests/macro_trailing_commas.rs
index e950523d0e5..cd597af73cb 100644
--- a/library/stdarch/crates/std_detect/tests/macro_trailing_commas.rs
+++ b/library/stdarch/crates/std_detect/tests/macro_trailing_commas.rs
@@ -1,5 +1,5 @@
 #![feature(stdsimd)]
-#![allow(clippy::option_unwrap_used, clippy::use_debug, clippy::print_stdout)]
+#![allow(clippy::unwrap_used, clippy::use_debug, clippy::print_stdout)]
 
 #[cfg(any(
     target_arch = "arm",