Repository: GuillaumeGomez/sysinfo (language: rust)

Issue:
Typo in documentation of `Networks::new_with_refreshed_list()`
https://github.com/GuillaumeGomez/sysinfo/blob/2c10a68b7775978c27b6f263bda5293d2d006703/src/common/network.rs#L58-L60

The documentation for `Networks::new_with_refreshed_list()` mentions "the disk list", which seems inappropriate.


Discussion / hints:

Fix patch:
diff --git a/src/common/network.rs b/src/common/network.rs
index d46d4bfcc..150502640 100644
--- a/src/common/network.rs
+++ b/src/common/network.rs
@@ -55,8 +55,8 @@ impl Networks {
         }
     }
 
-    /// Creates a new [`Networks`][crate::Networks] type with the disk list
-    /// loaded. It is a combination of [`Networks::new`] and
+    /// Creates a new [`Networks`][crate::Networks] type with the network interfaces
+    /// list loaded. It is a combination of [`Networks::new`] and
     /// [`Networks::refresh_list`].
     ///
     /// ```no_run


Test patch: