From 6489232e1017c37d2ff123f991ea447ea723922e Mon Sep 17 00:00:00 2001 From: Intege-rs Date: Thu, 13 Mar 2025 16:04:20 -0400 Subject: [PATCH] make pub --- sub/core/src/align.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {}