diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2017-05-10 17:18:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-10 17:18:34 +0200 |
| commit | 19f1146ded4f7cfd4dc2720dcee49d9464a92429 (patch) | |
| tree | e74ba8f6a9d7b0b7bfa6a313ed7e1828219be6f3 | |
| parent | 42ce11eb5a2505e556137e1fa90324722aec5256 (diff) | |
| parent | ec141c8c96c81decd8fd7227c40285bc9b994a16 (diff) | |
| download | rust-19f1146ded4f7cfd4dc2720dcee49d9464a92429.tar.gz rust-19f1146ded4f7cfd4dc2720dcee49d9464a92429.zip | |
Rollup merge of #41886 - RalfJung:unique-doc-typo, r=steveklabnik
fix typo in Unique::empty doc Subject says it all
| -rw-r--r-- | src/libcore/ptr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<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. |
