Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Nov 27, 2017
1 parent ccd3238 commit ce3a6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ impl TcpConnection {
}
}

pub fn packets<'a>(&'a mut self) -> impl Iterator<Item = &TcpPacket<Box<[u8]>>> {
pub fn packets<'a>(&'a mut self) -> impl Iterator<Item = &'a TcpPacket<Box<[u8]>>> {
self.packet_queue.values()
}
}
Expand Down

0 comments on commit ce3a6a8

Please sign in to comment.