Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
jeehoonkang committed May 19, 2020
1 parent c1237f3 commit d8dff7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crossbeam-epoch/src/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,9 @@ pub struct Shared<'g, T: 'g + ?Sized + Pointable> {
_marker: PhantomData<(&'g (), *const T)>,
}

impl<'g, T> Clone for Shared<'g, T> {
impl<'g, T: ?Sized + Pointable> Clone for Shared<'g, T> {
fn clone(&self) -> Self {
Shared {
Self {
data: self.data,
_marker: PhantomData,
}
Expand Down

0 comments on commit d8dff7a

Please sign in to comment.