Skip to content

Commit 19f1146

Browse files
authored
Rollup merge of #41886 - RalfJung:unique-doc-typo, r=steveklabnik
fix typo in Unique::empty doc Subject says it all
2 parents 42ce11e + ec141c8 commit 19f1146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/ptr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ unsafe impl<T: Sync + ?Sized> Sync for Unique<T> { }
10051005

10061006
#[unstable(feature = "unique", issue = "27730")]
10071007
impl<T: Sized> Unique<T> {
1008-
/// Creates a new `Shared` that is dangling, but well-aligned.
1008+
/// Creates a new `Unique` that is dangling, but well-aligned.
10091009
///
10101010
/// This is useful for initializing types which lazily allocate, like
10111011
/// `Vec::new` does.

0 commit comments

Comments
 (0)