1
Fork 0

Impl Default for PhantomPinned

This commit is contained in:
Peter Todd 2020-10-13 04:26:35 -04:00
parent 4d63435aae
commit 28f8e6244b
No known key found for this signature in database
GPG key ID: 2481403DA5F091FB

View file

@ -772,7 +772,7 @@ pub auto trait Unpin {}
///
/// If a type contains a `PhantomPinned`, it will not implement `Unpin` by default.
#[stable(feature = "pin", since = "1.33.0")]
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Debug, Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct PhantomPinned;
#[stable(feature = "pin", since = "1.33.0")]