Fix formatting

Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
webbeef 2025-06-02 23:18:00 -07:00
parent 48faed54f7
commit 6af700d7bc

View file

@ -9,7 +9,12 @@ static ALLOC: Allocator = Allocator;
pub use crate::platform::*;
#[cfg(not(any(windows, feature = "use-system-allocator", feature = "use-mimalloc", target_env = "ohos")))]
#[cfg(not(any(
windows,
feature = "use-system-allocator",
feature = "use-mimalloc",
target_env = "ohos"
)))]
mod platform {
use std::os::raw::c_void;
@ -104,6 +109,6 @@ mod platform {
/// Memory allocation APIs compatible with libc
pub mod libc_compat {
pub use libmimalloc_sys::{ mi_free as free, mi_malloc as malloc, mi_realloc as realloc };
pub use libmimalloc_sys::{mi_free as free, mi_malloc as malloc, mi_realloc as realloc};
}
}