diff --git a/hypervisor/src/lib.rs b/hypervisor/src/lib.rs index d44cf163d..7b663701f 100644 --- a/hypervisor/src/lib.rs +++ b/hypervisor/src/lib.rs @@ -18,8 +18,6 @@ //! - arm64 //! -#![allow(clippy::significant_drop_in_scrutinee)] - #[macro_use] extern crate anyhow; #[cfg(target_arch = "x86_64")] diff --git a/vhost_user_block/src/lib.rs b/vhost_user_block/src/lib.rs index c6863fce3..e073a4a1d 100644 --- a/vhost_user_block/src/lib.rs +++ b/vhost_user_block/src/lib.rs @@ -8,8 +8,6 @@ // // SPDX-License-Identifier: (Apache-2.0 AND BSD-3-Clause) -#![allow(clippy::significant_drop_in_scrutinee)] - use block_util::{build_disk_image_id, Request, VirtioBlockConfig}; use libc::EFD_NONBLOCK; use log::*; diff --git a/vhost_user_net/src/lib.rs b/vhost_user_net/src/lib.rs index e8aafb34c..b76b0c0b6 100644 --- a/vhost_user_net/src/lib.rs +++ b/vhost_user_net/src/lib.rs @@ -6,8 +6,6 @@ // // SPDX-License-Identifier: (Apache-2.0 AND BSD-3-Clause) -#![allow(clippy::significant_drop_in_scrutinee)] - use libc::{self, EFD_NONBLOCK}; use log::*; use net_util::{ diff --git a/virtio-devices/src/lib.rs b/virtio-devices/src/lib.rs index 5425a550a..f7037692b 100644 --- a/virtio-devices/src/lib.rs +++ b/virtio-devices/src/lib.rs @@ -10,8 +10,6 @@ //! Implements virtio devices, queues, and transport mechanisms. -#![allow(clippy::significant_drop_in_scrutinee)] - #[macro_use] extern crate event_monitor; #[macro_use] diff --git a/vm-device/src/lib.rs b/vm-device/src/lib.rs index 326285c7b..c16d0ec4e 100644 --- a/vm-device/src/lib.rs +++ b/vm-device/src/lib.rs @@ -3,8 +3,6 @@ // SPDX-License-Identifier: Apache-2.0 // -#![allow(clippy::significant_drop_in_scrutinee)] - use serde::{Deserialize, Serialize}; mod bus; diff --git a/vmm/src/lib.rs b/vmm/src/lib.rs index bc1b6dcc5..951c77cdd 100644 --- a/vmm/src/lib.rs +++ b/vmm/src/lib.rs @@ -3,8 +3,6 @@ // SPDX-License-Identifier: Apache-2.0 // -#![allow(clippy::significant_drop_in_scrutinee)] - #[macro_use] extern crate event_monitor; #[macro_use]