make pub
This commit is contained in:
@@ -3,7 +3,7 @@ pub struct Align<const ALIGNMENT: usize>( <Self as Aligned>::Alignment ) where S
|
||||
pub trait Aligned { type Alignment; }
|
||||
|
||||
impl <const ALIGNMENT: usize> Align<ALIGNMENT> where Self: Aligned {
|
||||
const fn new() -> Self { unsafe { core::mem::zeroed() } }
|
||||
pub const fn new() -> Self { unsafe { core::mem::zeroed() } }
|
||||
}
|
||||
|
||||
unsafe impl <const ALIGNMENT: usize> crate::data::Zeroed for Align<ALIGNMENT> where Self: Aligned {}
|
||||
|
||||
Reference in New Issue
Block a user