Rollup merge of #41886 - RalfJung:unique-doc-typo, r=steveklabnik

fix typo in Unique::empty doc

Subject says it all
This commit is contained in:
Steve Klabnik 2017-05-10 17:18:34 +02:00 committed by GitHub
commit 19f1146ded

View File

@ -1005,7 +1005,7 @@ unsafe impl<T: Sync + ?Sized> Sync for Unique<T> { }
#[unstable(feature = "unique", issue = "27730")]
impl<T: Sized> Unique<T> {
/// 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.