Browse Source

Merge #739

739: Instant is microseconds, not milliseconds r=Dirbaio a=datdenkikniet

The doc comment was incorrect, fixed it.

Co-authored-by: datdenkikniet <jcdra1@gmail.com>
bors[bot] 2 years ago
parent
commit
98deb41ee5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/time.rs

+ 1 - 1
src/time.rs

@@ -15,7 +15,7 @@ use core::{fmt, ops};
 /// A representation of an absolute time value.
 ///
 /// The `Instant` type is a wrapper around a `i64` value that
-/// represents a number of milliseconds, monotonically increasing
+/// represents a number of microseconds, monotonically increasing
 /// since an arbitrary moment in time, such as system startup.
 ///
 /// * A value of `0` is inherently arbitrary.