We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a67af2 commit b0e862fCopy full SHA for b0e862f
README.md
@@ -9,12 +9,8 @@ This is a library for getting information about running processes for Mac OS X a
9
extern crate libproc;
10
use libproc::libproc::proc_pid;
11
12
-...
13
-
14
match proc_pid::pidpath(pid) {
15
- Ok(path) => {
16
- println!("PID {}: has path {}", pid, path);
17
- },
+ Ok(path) => println!("PID {}: has path {}", pid, path),
18
Err(err) => writeln!(&mut std::io::stderr(), "Error: {}", err).unwrap()
19
}
20
```
0 commit comments