Skip to content

Commit e76475d

Browse files
committed
Inline Page::zeroed()
Signed-off-by: Nathaniel McCallum <[email protected]>
1 parent e792376 commit e76475d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/page.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ impl Page {
8484
}
8585

8686
/// Returns a Page full of zeroes
87+
#[inline]
8788
pub const fn zeroed() -> Self {
8889
Self([0; Self::SIZE])
8990
}

0 commit comments

Comments
 (0)