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 f3b3749 commit 6129afaCopy full SHA for 6129afa
src/lib.rs
@@ -45,7 +45,7 @@ impl Heap {
45
#[cfg(not(feature = "const_mut_refs"))]
46
pub fn empty() -> Heap {
47
Heap {
48
- bottom: 0,
+ bottom: core::ptr::null_mut(),
49
size: 0,
50
used: 0,
51
holes: HoleList::empty(),
0 commit comments