From bf1a5e23fe0c141915b75016bd892457f3db4082 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Wed, 6 Dec 2023 12:46:20 +0900 Subject: [PATCH] update doc --- src/storages.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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| {