From a8aa960375252005caef770dd4ca5f1b5bc2d55e Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Sat, 20 Nov 2021 14:20:57 -0500 Subject: [PATCH] Revert "Temporarily disable a false-positive clippy lint" This reverts commit cba22ccac0503b5d15f8f1544ea1899232d98caa. Fixes #303 --- src/alloc.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/alloc.rs b/src/alloc.rs index 8a754304a..6118463c2 100644 --- a/src/alloc.rs +++ b/src/alloc.rs @@ -60,8 +60,6 @@ unsafe impl GlobalAlloc for Allocator { let align = layout.align(); if align > 8 { - // TODO: https://github.com/rust-osdev/uefi-rs/issues/303 - #[allow(clippy::question_mark)] // allocate more space for alignment let ptr = if let Ok(ptr) = boot_services() .as_ref()