File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ use num::{ToPrimitive, Int};
6868use ops:: { Add , Deref , FnMut } ;
6969use option:: Option ;
7070use option:: Option :: { Some , None } ;
71- use marker:: { Send , Sized , Sync } ;
71+ use marker:: Sized ;
7272use usize;
7373
7474/// An interface for dealing with "external iterators". These types of iterators
@@ -1783,10 +1783,6 @@ pub struct Peekable<I: Iterator> {
17831783 peeked : Option < I :: Item > ,
17841784}
17851785
1786- // FIXME: after #22828 being fixed, the following unsafe impl should be removed
1787- unsafe impl < I : Iterator > Sync for Peekable < I > where I : Sync , I :: Item : Sync { }
1788- unsafe impl < I : Iterator > Send for Peekable < I > where I : Send , I :: Item : Send { }
1789-
17901786impl < I : Iterator + Clone > Clone for Peekable < I > where I :: Item : Clone {
17911787 fn clone ( & self ) -> Peekable < I > {
17921788 Peekable {
You can’t perform that action at this time.
0 commit comments