Skip to content

Commit

Permalink
Fix documentation in README code example
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Apr 16, 2024
1 parent 9705c68 commit 89a8266
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -42,9 +42,8 @@ use sysinfo::{
Components, Disks, Networks, System,
};

// Please note that we use "new_all" to ensure that all list of
// components, network interfaces, disks and users are already
// filled!
// Please note that we use "new_all" to ensure that all lists of
// CPUs and processes are filled!
let mut sys = System::new_all();

// First we update all information of our `System` struct.
Expand Down

0 comments on commit 89a8266

Please sign in to comment.