This commit is contained in:
sawyer committed 2025-10-28 17:08:50 -06:00
1 parent 1182560582
commit d7fb4b4058
7 files changed
+120 -54

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ pub struct CLayout {
#[cfg(feature = "alloc")]
impl Into<Layout> for CLayout {
fn into(self) -> Layout {
unsafe { Layout::from_size_align_unchecked(self.size, self.alignment) }
Layout::from_size_align(self.size, self.alignment).unwrap()
}
}