From 9bb9924b14ef4e065abcdbe119f4a2a050b1bbb1 Mon Sep 17 00:00:00 2001 From: MSxDOS <15524350+MSxDOS@users.noreply.github.com> Date: Sun, 6 Jan 2019 18:13:37 +0300 Subject: [PATCH] Update clippy-related lints --- src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index eb7fbf4..a33cc89 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,10 +34,8 @@ #![no_std] #![deny(unused, unused_qualifications)] #![warn(unused_attributes)] -#![allow(bad_style, overflowing_literals, unused_macros)] +#![allow(bad_style, overflowing_literals, unused_macros, clippy::cast_lossless, clippy::cast_ptr_alignment, clippy::len_without_is_empty, clippy::trivially_copy_pass_by_ref, clippy::unreadable_literal)] #![cfg_attr(feature = "nightly", feature(asm))] -#![cfg_attr(feature = "cargo-clippy", feature(tool_lints))] -#![cfg_attr(feature = "cargo-clippy", allow(clippy::cast_lossless, clippy::cast_ptr_alignment, clippy::len_without_is_empty, clippy::trivially_copy_pass_by_ref, clippy::unreadable_literal))] #[doc(hidden)] pub extern crate core as _core; #[macro_use]