diff options
| author | bors <bors@rust-lang.org> | 2013-08-04 18:10:53 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-04 18:10:53 -0700 |
| commit | dc5b0b94101a1fb9094b62ed1bb1b0be3b073fcc (patch) | |
| tree | 9213742ffdd773b77d3d31bd42304a71d876ad61 /src/libextra | |
| parent | 77bc6c59556cd13f88e18a53387b780bb1b6182d (diff) | |
| parent | 3f4c6cead67cedea5042d5ba84fb490dfee5462a (diff) | |
| download | rust-dc5b0b94101a1fb9094b62ed1bb1b0be3b073fcc.tar.gz rust-dc5b0b94101a1fb9094b62ed1bb1b0be3b073fcc.zip | |
auto merge of #8282 : brson/rust/more-newsched-fixes, r=brson
Diffstat (limited to 'src/libextra')
| -rw-r--r-- | src/libextra/comm.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/libextra/comm.rs b/src/libextra/comm.rs index 44581efc6f0..776e25cac89 100644 --- a/src/libextra/comm.rs +++ b/src/libextra/comm.rs @@ -18,9 +18,8 @@ Higher level communication abstractions. use std::comm::{GenericChan, GenericSmartChan, GenericPort}; -use std::comm::{Chan, Port, Selectable, Peekable}; +use std::comm::{Chan, Port, Peekable}; use std::comm; -use std::pipes; /// An extension of `pipes::stream` that allows both sending and receiving. pub struct DuplexStream<T, U> { @@ -75,12 +74,6 @@ impl<T:Send,U:Send> Peekable<U> for DuplexStream<T, U> { } } -impl<T:Send,U:Send> Selectable for DuplexStream<T, U> { - fn header(&mut self) -> *mut pipes::PacketHeader { - self.port.header() - } -} - /// Creates a bidirectional stream. pub fn DuplexStream<T:Send,U:Send>() -> (DuplexStream<T, U>, DuplexStream<U, T>) |
