diff --git a/src/storages.rs b/src/storages.rs index ff24e34..6cb7a4d 100644 --- a/src/storages.rs +++ b/src/storages.rs @@ -99,8 +99,8 @@ pub mod local_info; pub mod online_storage; pub mod physical_drive_partition; -/// Get `Vec` from devices.yml([DEVICESFILE]). -/// If [DEVICESFILE] isn't found, return empty vec. +/// Get `HashMap` from devices.yml([devices::DEVICESFILE]). +/// If [devices::DEVICESFILE] isn't found, return empty vec. pub fn get_storages(config_dir: &path::Path) -> Result> { if let Some(storages_file) = fs::read_dir(&config_dir)? .filter(|f| {