We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42ce11e + ec141c8 commit 19f1146Copy full SHA for 19f1146
src/libcore/ptr.rs
@@ -1005,7 +1005,7 @@ unsafe impl<T: Sync + ?Sized> Sync for Unique<T> { }
1005
1006
#[unstable(feature = "unique", issue = "27730")]
1007
impl<T: Sized> Unique<T> {
1008
- /// Creates a new `Shared` that is dangling, but well-aligned.
+ /// Creates a new `Unique` that is dangling, but well-aligned.
1009
///
1010
/// This is useful for initializing types which lazily allocate, like
1011
/// `Vec::new` does.
0 commit comments