Skip to content

Commit

Permalink
Merge pull request #1254 from GuillaumeGomez/fix-doc
Browse files Browse the repository at this point in the history
Fix documentation in README code example
  • Loading branch information
GuillaumeGomez committed Apr 16, 2024
2 parents 9705c68 + 89a8266 commit 67d4517
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 67d4517

Please sign in to comment.