Skip to content

Commit

Permalink
Update Devices struct doc comment to clarify block_devices can be empty
Browse files Browse the repository at this point in the history
  • Loading branch information
yamaura committed Aug 7, 2024
1 parent d66c910 commit dc70412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion procfs-core/src/devices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use serde::{Deserialize, Serialize};
pub struct Devices {
/// Character devices
pub char_devices: Vec<CharDeviceEntry>,
/// Block devices
/// Block devices, which can be empty if the kernel doesn't support block devices (without `CONFIG_BLOCK`)
pub block_devices: Vec<BlockDeviceEntry>,
}

Expand Down

0 comments on commit dc70412

Please sign in to comment.