Skip to content

Commit d452d37

Browse files
committed
Fix LineEvent timestamp doc
1 parent 2c7ef82 commit d452d37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,8 +920,8 @@ impl LineEvent {
920920
/// in an interrupt handler so it should be very accurate.
921921
///
922922
/// The nanosecond timestamp value should are captured
923-
/// using the `CLOCK_REALTIME` offsets in the kernel and
924-
/// should be compared against `CLOCK_REALTIME` values.
923+
/// using the `CLOCK_MONOTONIC` offsets in the kernel and
924+
/// should be compared against `CLOCK_MONOTONIC` values.
925925
pub fn timestamp(&self) -> u64 {
926926
self.0.timestamp
927927
}

0 commit comments

Comments
 (0)