std: fix fallout
This commit is contained in:
@@ -936,7 +936,9 @@ impl<T: Send> select::Packet for Receiver<T> {
|
||||
}
|
||||
|
||||
#[unstable]
|
||||
impl<'a, T: Send> Iterator<T> for Iter<'a, T> {
|
||||
impl<'a, T: Send> Iterator for Iter<'a, T> {
|
||||
type Item = T;
|
||||
|
||||
fn next(&mut self) -> Option<T> { self.rx.recv().ok() }
|
||||
}
|
||||
|
||||
|
||||
@@ -319,7 +319,9 @@ impl<'rx, T: Send> Drop for Handle<'rx, T> {
|
||||
}
|
||||
}
|
||||
|
||||
impl Iterator<*mut Handle<'static, ()>> for Packets {
|
||||
impl Iterator for Packets {
|
||||
type Item = *mut Handle<'static, ()>;
|
||||
|
||||
fn next(&mut self) -> Option<*mut Handle<'static, ()>> {
|
||||
if self.cur.is_null() {
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user