From c8a3408fddfbe211ff8a216d2e2ea54222724ee1 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Tue, 28 Oct 2025 00:09:11 -0400 Subject: [PATCH] fix(extractors/filesystem-device-match): clarify when to use fallback for empty criteria --- src/extractors/filesystem_device_match.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/extractors/filesystem_device_match.rs b/src/extractors/filesystem_device_match.rs index 084eff8..800f203 100644 --- a/src/extractors/filesystem_device_match.rs +++ b/src/extractors/filesystem_device_match.rs @@ -17,10 +17,10 @@ use uefi_raw::Status; /// This extractor finds a filesystem using some search criteria and returns /// the device root path that can concatenated with subpaths to access files /// on a particular filesystem. -/// -/// This function only requires all the criteria to match. -/// If no criteria is provided, no filesystem is matched. /// The fallback value can be used to provide a value if no match is found. +/// +/// This function only requires all the criteria to match. If no criteria is provided, +/// no filesystem is matched, and the fallback value is used if it is provided. #[derive(Serialize, Deserialize, Debug, Default, Clone)] pub struct FilesystemDeviceMatchExtractor { /// Matches a filesystem that has the specified label.