From 0b6523906d3098332873984232513df3dfa799a4 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Mon, 27 Oct 2025 23:39:55 -0400 Subject: [PATCH] fix(doc): filesystem-device-match will not return a filesystem when criteria is not provided --- src/extractors/filesystem_device_match.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/extractors/filesystem_device_match.rs b/src/extractors/filesystem_device_match.rs index 2672170..084eff8 100644 --- a/src/extractors/filesystem_device_match.rs +++ b/src/extractors/filesystem_device_match.rs @@ -19,7 +19,8 @@ use uefi_raw::Status; /// on a particular filesystem. /// /// This function only requires all the criteria to match. -/// The fallback value can be used to provide a value if none is found. +/// If no criteria is provided, no filesystem is matched. +/// The fallback value can be used to provide a value if no match is found. #[derive(Serialize, Deserialize, Debug, Default, Clone)] pub struct FilesystemDeviceMatchExtractor { /// Matches a filesystem that has the specified label.