mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vm-virtio: reevaluate #[allow] attributes
Remove a stale #[allow(non_camel_case_types)] whose lint no longer fires; the enum variants are already CamelCase. Part of #8326. Signed-off-by: Tushar Khatri <hello@tusharkhatri.in>
This commit is contained in:
committed by
Rob Bradford
parent
0487035512
commit
407dd12dc5
@@ -23,7 +23,6 @@ pub const VIRTIO_MSI_NO_VECTOR: u16 = 0xffff;
|
||||
|
||||
// Types taken from linux/virtio_ids.h
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
#[allow(non_camel_case_types)]
|
||||
#[repr(C)]
|
||||
pub enum VirtioDeviceType {
|
||||
Net = 1,
|
||||
|
||||
Reference in New Issue
Block a user