File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -34,5 +34,5 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
34
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
36
36
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37
- refs/heads/tmp: 4ac53cc6cef35beb7a517c48169dc36723dba7b1
37
+ refs/heads/tmp: 3c1f61ce63e911698666c7da1bbf21cdc9818a84
38
38
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ use num::{ToPrimitive, Int};
68
68
use ops:: { Add , Deref , FnMut } ;
69
69
use option:: Option ;
70
70
use option:: Option :: { Some , None } ;
71
- use marker:: { Send , Sized , Sync } ;
71
+ use marker:: Sized ;
72
72
use usize;
73
73
74
74
/// An interface for dealing with "external iterators". These types of iterators
@@ -1783,10 +1783,6 @@ pub struct Peekable<I: Iterator> {
1783
1783
peeked : Option < I :: Item > ,
1784
1784
}
1785
1785
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
-
1790
1786
impl < I : Iterator + Clone > Clone for Peekable < I > where I :: Item : Clone {
1791
1787
fn clone ( & self ) -> Peekable < I > {
1792
1788
Peekable {
You can’t perform that action at this time.
0 commit comments