From 7e34dd74ecbbaee1b94d2f08e9b22e7dfec9d644 Mon Sep 17 00:00:00 2001 From: dalance Date: Tue, 5 Jul 2022 10:58:00 +0900 Subject: [PATCH] Remove obsolete document about stat field --- src/process/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/process/mod.rs b/src/process/mod.rs index 7f04d36c..47e4bdd9 100644 --- a/src/process/mod.rs +++ b/src/process/mod.rs @@ -1147,9 +1147,6 @@ impl Process { } /// Returns the status info from `/proc/[pid]/stat`. - /// - /// Note that this data comes pre-loaded in the `stat` field. This method is useful when you - /// get the latest status data (since some of it changes while the program is running) pub fn stat(&self) -> ProcResult { let file = FileWrapper::open_at(&self.root, &self.fd, "stat")?; let stat = Stat::from_reader(file)?;