Skip to content

Commit b349961

Browse files
committed
fix warning in integration test
1 parent a59bf9f commit b349961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/src/gdt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ lazy_static! {
1313
const STACK_SIZE: usize = 4096;
1414
static mut STACK: [u8; STACK_SIZE] = [0; STACK_SIZE];
1515

16-
let stack_start = VirtAddr::from_ptr(unsafe { ptr::addr_of!(STACK) });
16+
let stack_start = VirtAddr::from_ptr(ptr::addr_of!(STACK));
1717
let stack_end = stack_start + STACK_SIZE as u64;
1818
stack_end
1919
};

0 commit comments

Comments
 (0)