about summary refs log tree commit diff
path: root/library/stdarch/examples/hex.rs
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-04-16 11:01:19 +0200
committergnzlbg <gnzlbg@users.noreply.github.com>2019-04-17 14:20:42 +0200
commit459afa7a592b6bc140836d0c426f854d63887c27 (patch)
tree34c3c20a4162be535932ddffaccab53037171ce2 /library/stdarch/examples/hex.rs
parenteac0c6c8c1c4009fbc37bb54932e6240de005cb5 (diff)
downloadrust-459afa7a592b6bc140836d0c426f854d63887c27.tar.gz
rust-459afa7a592b6bc140836d0c426f854d63887c27.zip
Fix clippy issues
Diffstat (limited to 'library/stdarch/examples/hex.rs')
-rw-r--r--library/stdarch/examples/hex.rs21
1 files changed, 9 insertions, 12 deletions
diff --git a/library/stdarch/examples/hex.rs b/library/stdarch/examples/hex.rs
index 8b9a4cdd0d0..7589578517e 100644
--- a/library/stdarch/examples/hex.rs
+++ b/library/stdarch/examples/hex.rs
@@ -14,18 +14,15 @@
 
 #![feature(stdsimd)]
 #![cfg_attr(test, feature(test))]
-#![cfg_attr(
-    feature = "cargo-clippy",
-    allow(
-        clippy::result_unwrap_used,
-        clippy::print_stdout,
-        clippy::option_unwrap_used,
-        clippy::shadow_reuse,
-        clippy::cast_possible_wrap,
-        clippy::cast_ptr_alignment,
-        clippy::cast_sign_loss,
-        clippy::missing_docs_in_private_items
-    )
+#![allow(
+    clippy::result_unwrap_used,
+    clippy::print_stdout,
+    clippy::option_unwrap_used,
+    clippy::shadow_reuse,
+    clippy::cast_possible_wrap,
+    clippy::cast_ptr_alignment,
+    clippy::cast_sign_loss,
+    clippy::missing_docs_in_private_items
 )]
 
 #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]