We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cae5d5 commit 05ee33eCopy full SHA for 05ee33e
src/raw/alloc.rs
@@ -33,6 +33,7 @@ mod inner {
33
use crate::alloc::alloc::{alloc, dealloc, Layout};
34
use core::ptr::NonNull;
35
36
+ #[allow(clippy::missing_safety_doc)] // not exposed outside of this crate
37
pub unsafe trait Allocator {
38
fn allocate(&self, layout: Layout) -> Result<NonNull<u8>, ()>;
39
unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout);
0 commit comments