Skip to content

Commit

Permalink
[review] fix comment
Browse files Browse the repository at this point in the history
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
  • Loading branch information
the8472 and Amanieu committed Aug 17, 2021
1 parent ff12ab2 commit 6c92bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/time/monotonic.rs
Expand Up @@ -14,7 +14,7 @@ pub mod inner {

pub(in crate::time) const ZERO: time::Instant = time::Instant::zero();

// bits 30 and 31 are never used since the seconds part never exceeds 10^9
// bits 30 and 31 are never used since the nanoseconds part never exceeds 10^9
const UNINITIALIZED: u64 = 0b11 << 30;
static MONO: AtomicU64 = AtomicU64::new(UNINITIALIZED);

Expand Down

0 comments on commit 6c92bae

Please sign in to comment.