about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/alloc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/alloc.rs b/src/libcore/alloc.rs
index 4f401c75104..0a7a8ab266a 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")]