From dc70412e36060ecc4d5d600348e337ff971bd010 Mon Sep 17 00:00:00 2001 From: Yuki Yamaura Date: Wed, 7 Aug 2024 14:07:18 +0900 Subject: [PATCH] Update Devices struct doc comment to clarify block_devices can be empty --- procfs-core/src/devices.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procfs-core/src/devices.rs b/procfs-core/src/devices.rs index ba1ee29..36c4176 100644 --- a/procfs-core/src/devices.rs +++ b/procfs-core/src/devices.rs @@ -12,7 +12,7 @@ use serde::{Deserialize, Serialize}; pub struct Devices { /// Character devices pub char_devices: Vec, - /// Block devices + /// Block devices, which can be empty if the kernel doesn't support block devices (without `CONFIG_BLOCK`) pub block_devices: Vec, }