mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2026-10-22 22:57:36 -06:00
fuck
This commit is contained in:
1 parent
1182560582
commit
d7fb4b4058
7 files changed
+120
-54
No files matched your search
+1
-1
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user