From 09d3ba13afb8fdf449928b160431787e2d259db1 Mon Sep 17 00:00:00 2001 From: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Sat, 7 Mar 2020 02:45:55 +0100 Subject: [PATCH] Update alloc.rs --- src/libcore/alloc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/alloc.rs b/src/libcore/alloc.rs index 4f401c75104d..0a7a8ab266ae 100644 --- a/src/libcore/alloc.rs +++ b/src/libcore/alloc.rs @@ -142,8 +142,8 @@ impl Layout { /// Creates a `NonNull` that is dangling, but well-aligned for this Layout. /// - /// Note that the pointer value may potentially represent a valid pointer to - /// a `T`, which means this must not be used as a "not yet initialized" + /// Note that the pointer value may potentially represent a valid pointer, + /// which means this must not be used as a "not yet initialized" /// sentinel value. Types that lazily allocate must track initialization by /// some other means. #[unstable(feature = "alloc_layout_extra", issue = "55724")]