Skip to content

Commit f36e4fb

Browse files
authored
Merge pull request #73 from ojeda/typo
lib: fix safety comment missing space
2 parents 9a5e454 + 3bf9253 commit f36e4fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,7 @@ pub fn init_zeroed<T: Zeroable>() -> impl Init<T> {
15921592
/// assert_eq!(point.y, 0);
15931593
/// ```
15941594
pub const fn zeroed<T: Zeroable>() -> T {
1595-
// SAFETY:By the type invariants of `Zeroable`, all zeroes is a valid bit pattern for `T`.
1595+
// SAFETY: By the type invariants of `Zeroable`, all zeroes is a valid bit pattern for `T`.
15961596
unsafe { core::mem::zeroed() }
15971597
}
15981598

0 commit comments

Comments
 (0)