From d66c910f3499860345f9903c0e8fa1683d849fb3 Mon Sep 17 00:00:00 2001 From: Yuki Yamaura Date: Wed, 7 Aug 2024 14:03:13 +0900 Subject: [PATCH] Remove unnecessary #[allow(non_snake_case)] --- procfs-core/src/devices.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/procfs-core/src/devices.rs b/procfs-core/src/devices.rs index 4576e13..ba1ee29 100644 --- a/procfs-core/src/devices.rs +++ b/procfs-core/src/devices.rs @@ -9,7 +9,6 @@ use serde::{Deserialize, Serialize}; /// Device entries under `/proc/devices` #[derive(Debug, Clone)] #[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))] -#[allow(non_snake_case)] pub struct Devices { /// Character devices pub char_devices: Vec, @@ -20,7 +19,6 @@ pub struct Devices { /// A charcter device entry under `/proc/devices` #[derive(Debug, Clone)] #[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))] -#[allow(non_snake_case)] pub struct CharDeviceEntry { /// Device major number pub major: u32, @@ -31,7 +29,6 @@ pub struct CharDeviceEntry { /// A block device entry under `/proc/devices` #[derive(Debug, Clone)] #[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))] -#[allow(non_snake_case)] pub struct BlockDeviceEntry { /// Device major number pub major: i32,