File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ use serde::{Deserialize, Serialize};
99/// Device entries under `/proc/devices`
1010#[ derive( Debug , Clone ) ]
1111#[ cfg_attr( feature = "serde1" , derive( Serialize , Deserialize ) ) ]
12- #[ allow( non_snake_case) ]
1312pub struct Devices {
1413 /// Character devices
1514 pub char_devices : Vec < CharDeviceEntry > ,
@@ -20,7 +19,6 @@ pub struct Devices {
2019/// A charcter device entry under `/proc/devices`
2120#[ derive( Debug , Clone ) ]
2221#[ cfg_attr( feature = "serde1" , derive( Serialize , Deserialize ) ) ]
23- #[ allow( non_snake_case) ]
2422pub struct CharDeviceEntry {
2523 /// Device major number
2624 pub major : u32 ,
@@ -31,7 +29,6 @@ pub struct CharDeviceEntry {
3129/// A block device entry under `/proc/devices`
3230#[ derive( Debug , Clone ) ]
3331#[ cfg_attr( feature = "serde1" , derive( Serialize , Deserialize ) ) ]
34- #[ allow( non_snake_case) ]
3532pub struct BlockDeviceEntry {
3633 /// Device major number
3734 pub major : i32 ,
You can’t perform that action at this time.
0 commit comments