Skip to content

Commit

Permalink
Fix 1.28.0 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Vtec234 committed Sep 17, 2019
1 parent 4ec94c8 commit 1349724
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crossbeam-epoch/src/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
use core::cell::{Cell, UnsafeCell};
use core::mem::{self, ManuallyDrop};
use core::num::Wrapping;
use core::ptr;
use core::{ptr, fmt};
use core::sync::atomic;
use core::sync::atomic::Ordering;

Expand Down Expand Up @@ -142,8 +142,8 @@ impl Drop for Bag {
}

// can't #[derive(Debug)] because Debug is not implemented for arrays 64 items long
impl core::fmt::Debug for Bag {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
impl fmt::Debug for Bag {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("Bag").field("deferreds", &&self.deferreds[..self.len]).finish()
}
}
Expand Down

0 comments on commit 1349724

Please sign in to comment.