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 47a1de2 commit 0f24df1Copy full SHA for 0f24df1
src/test.rs
@@ -532,7 +532,7 @@ fn oddly_sized_heap_extension() {
532
#[test]
533
fn extend_odd_size() {
534
// define an array of `u64` instead of `u8` for alignment
535
- static mut HEAP: [u64; 5] = [0; 5];
+ static mut HEAP: [u64; 6] = [0; 6];
536
unsafe {
537
let mut heap = Heap::new(HEAP.as_mut_ptr().cast(), 17);
538
assert_eq!(1, heap.holes.pending_extend);
0 commit comments