From 86e08c24004feca2f39bb1c86596a02bff85d508 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Tue, 28 Oct 2025 00:19:38 -0400 Subject: [PATCH] fix(doc/extractors/filesystem-device-match): the extractor will error if no criteria is provided --- src/extractors/filesystem_device_match.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extractors/filesystem_device_match.rs b/src/extractors/filesystem_device_match.rs index 800f203..a894d58 100644 --- a/src/extractors/filesystem_device_match.rs +++ b/src/extractors/filesystem_device_match.rs @@ -19,8 +19,8 @@ use uefi_raw::Status; /// on a particular filesystem. /// 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. +/// This extractor requires all the criteria to match. If no criteria is provided, +/// an error is returned. #[derive(Serialize, Deserialize, Debug, Default, Clone)] pub struct FilesystemDeviceMatchExtractor { /// Matches a filesystem that has the specified label.