Skip to content

Commit

Permalink
Merge pull request #342 from rantala/patch-1
Browse files Browse the repository at this point in the history
Fix README.md example compilation
  • Loading branch information
eminence authored Mar 10, 2025
2 parents 4ccc45b + 65fbc3d commit ff360c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ process. This is very similar to what "ps" does in its default mode:
fn main() {
let me = procfs::process::Process::myself().unwrap();
let me_stat = me.stat().unwrap();
let tps = procfs::ticks_per_second().unwrap();
let tps = procfs::ticks_per_second();

println!("{: >5} {: <8} {: >8} {}", "PID", "TTY", "TIME", "CMD");

Expand Down

0 comments on commit ff360c3

Please sign in to comment.