diff --git a/sub/core/src/align.rs b/sub/core/src/align.rs index 739c557..14a8f37 100644 --- a/sub/core/src/align.rs +++ b/sub/core/src/align.rs @@ -3,7 +3,7 @@ pub struct Align( ::Alignment ) where S pub trait Aligned { type Alignment; } impl Align where Self: Aligned { - const fn new() -> Self { unsafe { core::mem::zeroed() } } + pub const fn new() -> Self { unsafe { core::mem::zeroed() } } } unsafe impl crate::data::Zeroed for Align where Self: Aligned {}