Skip to content

Commit

Permalink
Impl Default for PhantomPinned
Browse files Browse the repository at this point in the history
  • Loading branch information
petertodd committed Oct 13, 2020
1 parent 4d63435 commit 28f8e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/marker.rs
Expand Up @@ -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")]
Expand Down

0 comments on commit 28f8e62

Please sign in to comment.