fix typo in Unique::empty doc
This commit is contained in:
parent
25a161765f
commit
ec141c8c96
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue