Skip to content

Commit

Permalink
Remove unnecessary #[allow(non_snake_case)]
Browse files Browse the repository at this point in the history
  • Loading branch information
yamaura committed Aug 7, 2024
1 parent eb26215 commit d66c910
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions procfs-core/src/devices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<CharDeviceEntry>,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit d66c910

Please sign in to comment.