From 5eefa5d4ead9ebfac7dab1db9aebf9797d2dad38 Mon Sep 17 00:00:00 2001
From: Richard <richardsoncusto@gmail.com>
Date: Wed, 27 Apr 2022 16:18:27 -0300
Subject: Simplify the `QueryInformation` Action

---
 native/src/system/action.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'native')

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> {
-- 
cgit