Commit d66c910 1 parent eb26215 commit d66c910 Copy full SHA for d66c910
File tree 1 file changed +0
-3
lines changed
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};
9
9
/// Device entries under `/proc/devices`
10
10
#[ derive( Debug , Clone ) ]
11
11
#[ cfg_attr( feature = "serde1" , derive( Serialize , Deserialize ) ) ]
12
- #[ allow( non_snake_case) ]
13
12
pub struct Devices {
14
13
/// Character devices
15
14
pub char_devices : Vec < CharDeviceEntry > ,
@@ -20,7 +19,6 @@ pub struct Devices {
20
19
/// A charcter device entry under `/proc/devices`
21
20
#[ derive( Debug , Clone ) ]
22
21
#[ cfg_attr( feature = "serde1" , derive( Serialize , Deserialize ) ) ]
23
- #[ allow( non_snake_case) ]
24
22
pub struct CharDeviceEntry {
25
23
/// Device major number
26
24
pub major : u32 ,
@@ -31,7 +29,6 @@ pub struct CharDeviceEntry {
31
29
/// A block device entry under `/proc/devices`
32
30
#[ derive( Debug , Clone ) ]
33
31
#[ cfg_attr( feature = "serde1" , derive( Serialize , Deserialize ) ) ]
34
- #[ allow( non_snake_case) ]
35
32
pub struct BlockDeviceEntry {
36
33
/// Device major number
37
34
pub major : i32 ,
You can’t perform that action at this time.
0 commit comments