mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
misc: Remove #![allow(clippy::significant_drop_in_scrutinee)]
This isn't supported by clippy on Rust 1.60 but also no longer seems to be required. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
b3e3a5fdd7
commit
4b08142117
@ -18,8 +18,6 @@
|
|||||||
//! - arm64
|
//! - arm64
|
||||||
//!
|
//!
|
||||||
|
|
||||||
#![allow(clippy::significant_drop_in_scrutinee)]
|
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate anyhow;
|
extern crate anyhow;
|
||||||
#[cfg(target_arch = "x86_64")]
|
#[cfg(target_arch = "x86_64")]
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
//
|
//
|
||||||
// SPDX-License-Identifier: (Apache-2.0 AND BSD-3-Clause)
|
// 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 block_util::{build_disk_image_id, Request, VirtioBlockConfig};
|
||||||
use libc::EFD_NONBLOCK;
|
use libc::EFD_NONBLOCK;
|
||||||
use log::*;
|
use log::*;
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
//
|
//
|
||||||
// SPDX-License-Identifier: (Apache-2.0 AND BSD-3-Clause)
|
// SPDX-License-Identifier: (Apache-2.0 AND BSD-3-Clause)
|
||||||
|
|
||||||
#![allow(clippy::significant_drop_in_scrutinee)]
|
|
||||||
|
|
||||||
use libc::{self, EFD_NONBLOCK};
|
use libc::{self, EFD_NONBLOCK};
|
||||||
use log::*;
|
use log::*;
|
||||||
use net_util::{
|
use net_util::{
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
|
|
||||||
//! Implements virtio devices, queues, and transport mechanisms.
|
//! Implements virtio devices, queues, and transport mechanisms.
|
||||||
|
|
||||||
#![allow(clippy::significant_drop_in_scrutinee)]
|
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate event_monitor;
|
extern crate event_monitor;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
#![allow(clippy::significant_drop_in_scrutinee)]
|
|
||||||
|
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
mod bus;
|
mod bus;
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
#![allow(clippy::significant_drop_in_scrutinee)]
|
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate event_monitor;
|
extern crate event_monitor;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
Loading…
Reference in New Issue
Block a user