Skip to content

Commit 09d3ba1

Browse files
authored
Update alloc.rs
1 parent 545ef9d commit 09d3ba1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/alloc.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ impl Layout {
142142

143143
/// Creates a `NonNull` that is dangling, but well-aligned for this Layout.
144144
///
145-
/// Note that the pointer value may potentially represent a valid pointer to
146-
/// a `T`, which means this must not be used as a "not yet initialized"
145+
/// Note that the pointer value may potentially represent a valid pointer,
146+
/// which means this must not be used as a "not yet initialized"
147147
/// sentinel value. Types that lazily allocate must track initialization by
148148
/// some other means.
149149
#[unstable(feature = "alloc_layout_extra", issue = "55724")]

0 commit comments

Comments
 (0)