summaryrefslogtreecommitdiff
path: root/crates/windows-kernel-rs/src/allocator.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-01-03 14:17:31 -0800
committerFuwn <[email protected]>2022-01-03 14:17:31 -0800
commit340eced7ac68ff04e33fb63a675da9491bda8680 (patch)
treeda3150942ae6ac50761b05a341094dcd650ae2f7 /crates/windows-kernel-rs/src/allocator.rs
parentchore(windows-kernel-rs): remove unnecessary unsafe blocks (diff)
downloaddriver-340eced7ac68ff04e33fb63a675da9491bda8680.tar.xz
driver-340eced7ac68ff04e33fb63a675da9491bda8680.zip
fix(windows-kernel-rs): simplification
Diffstat (limited to 'crates/windows-kernel-rs/src/allocator.rs')
-rw-r--r--crates/windows-kernel-rs/src/allocator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/windows-kernel-rs/src/allocator.rs b/crates/windows-kernel-rs/src/allocator.rs
index 7b1efc8..2cb1515 100644
--- a/crates/windows-kernel-rs/src/allocator.rs
+++ b/crates/windows-kernel-rs/src/allocator.rs
@@ -15,7 +15,7 @@ use crate::version::VersionInfo;
/// See issue #52191.
#[alloc_error_handler]
-fn alloc_error(_: Layout) -> ! { loop {} }
+fn alloc_error(_: Layout) -> ! { loop {} } // core::panic!()
lazy_static! {
/// The version of Microsoft Windows that is currently running. This is used by