From ec141c8c96c81decd8fd7227c40285bc9b994a16 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 10 May 2017 17:05:54 +0200 Subject: [PATCH] fix typo in Unique::empty doc --- src/libcore/ptr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index a60abefc076..5f189d473be 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -1005,7 +1005,7 @@ unsafe impl Sync for Unique { } #[unstable(feature = "unique", issue = "27730")] impl Unique { - /// Creates a new `Shared` that is dangling, but well-aligned. + /// Creates a new `Unique` that is dangling, but well-aligned. /// /// This is useful for initializing types which lazily allocate, like /// `Vec::new` does.