Skip to content

Commit 1067543

Browse files
committed
Fix copied comment
1 parent f45bff5 commit 1067543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

time/src/time.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ impl Time {
112112
#[inline]
113113
pub(crate) const fn as_u64(self) -> u64 {
114114
// Safety: `self` is presumed valid because it exists, and any value of `u64` is valid. Size
115-
// and alignment are enforced by the compiler. There is no implicit padding in either
116-
// `Duration` or `u64`.
115+
// and alignment are enforced by the compiler. There is no implicit padding in either `Time`
116+
// or `u64`.
117117
unsafe { core::mem::transmute(self) }
118118
}
119119

0 commit comments

Comments
 (0)