summaryrefslogtreecommitdiffstats
path: root/native/src/system/action.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/system/action.rs')
-rw-r--r--native/src/system/action.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/system/action.rs b/native/src/system/action.rs
index 3bece0bb..6dab20a6 100644
--- a/native/src/system/action.rs
+++ b/native/src/system/action.rs
@@ -7,7 +7,7 @@ use std::fmt;
/// An operation to be performed on the system.
pub enum Action<T> {
/// Query system information and produce `T` with the result.
- QueryInformation(Box<dyn Fn(Option<system::Information>) -> T>),
+ QueryInformation(Box<dyn Fn(system::Information) -> T>),
}
impl<T> Action<T> {