Skip to content

Commit

Permalink
fix(cpu_timer): polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nyannyacha committed Jan 10, 2024
1 parent 63aff04 commit 9b2d794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cpu_timer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl CPUTimer {
}

#[cfg(not(target_os = "linux"))]
pub fn reset() -> Result<(), Error> {
pub fn reset(&self) -> Result<(), Error> {
Ok(())
}
}
Expand Down

0 comments on commit 9b2d794

Please sign in to comment.