Skip to content

Commit 9b2d794

Browse files
committed
fix(cpu_timer): polishing
1 parent 63aff04 commit 9b2d794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cpu_timer/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl CPUTimer {
118118
}
119119

120120
#[cfg(not(target_os = "linux"))]
121-
pub fn reset() -> Result<(), Error> {
121+
pub fn reset(&self) -> Result<(), Error> {
122122
Ok(())
123123
}
124124
}

0 commit comments

Comments
 (0)