We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f45bff5 commit 1067543Copy full SHA for 1067543
time/src/time.rs
@@ -112,8 +112,8 @@ impl Time {
112
#[inline]
113
pub(crate) const fn as_u64(self) -> u64 {
114
// 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`.
+ // and alignment are enforced by the compiler. There is no implicit padding in either `Time`
+ // or `u64`.
117
unsafe { core::mem::transmute(self) }
118
}
119
0 commit comments