mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 15:03:25 +03:00
fix typo in Unique::empty doc
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user