mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
pci: reevaluate #[allow] attributes
Drop stale #[allow]s whose lints no longer fire and convert the rest to #[expect], which warns if they ever stop being needed. Part of #8326. Signed-off-by: Tushar Khatri <hello@tusharkhatri.in>
This commit is contained in:
committed by
Rob Bradford
parent
7042922e83
commit
9eff92fb4b
@@ -73,7 +73,7 @@ impl PciSubclass for PciVfioUserSubclass {
|
||||
}
|
||||
|
||||
impl VfioUserPciDevice {
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[expect(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
id: String,
|
||||
vm: Arc<dyn hypervisor::Vm>,
|
||||
|
||||
Reference in New Issue
Block a user