From 451c61e293784b00b3cb6202187c0988a9c67902 Mon Sep 17 00:00:00 2001 From: Fan Jiang Date: Tue, 31 Mar 2020 17:04:10 -0400 Subject: [PATCH] Add TODO notice and reference to issue --- src/base/default_allocator.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/base/default_allocator.rs b/src/base/default_allocator.rs index 2435c4eb..cbfb5f61 100644 --- a/src/base/default_allocator.rs +++ b/src/base/default_allocator.rs @@ -46,6 +46,7 @@ where #[inline] unsafe fn allocate_uninitialized(_: R, _: C) -> Self::Buffer { + // TODO: Undefined behavior, see #556 mem::MaybeUninit::::uninit().assume_init() }