Impl Default for PhantomPinned
This commit is contained in:
parent
4d63435aae
commit
28f8e6244b
1 changed files with 1 additions and 1 deletions
|
@ -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")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue