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 fcbdda9 commit cba22ccCopy full SHA for cba22cc
src/alloc.rs
@@ -60,6 +60,8 @@ unsafe impl GlobalAlloc for Allocator {
60
let align = layout.align();
61
62
if align > 8 {
63
+ // TODO: https://github.com/rust-osdev/uefi-rs/issues/303
64
+ #[allow(clippy::question_mark)]
65
// allocate more space for alignment
66
let ptr = if let Ok(ptr) = boot_services()
67
.as_ref()
0 commit comments