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 2
2
refs/heads/master: b4c965ee803a4521d8b4575f634e036f93e408f3
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5
- refs/heads/try: 4ac53cc6cef35beb7a517c48169dc36723dba7b1
5
+ refs/heads/try: 3c1f61ce63e911698666c7da1bbf21cdc9818a84
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
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