summary refs log tree commit diff
path: root/src/libstd/io/comm_adapters.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-12-19 15:42:44 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-12-19 15:42:44 -0800
commitf89b61ba3ada6f4e343437edc1f1d2a91ad9ad8a (patch)
treeb5d8bc70512725e6cf383d3dd6d3b5d377fb1bd6 /src/libstd/io/comm_adapters.rs
parent3906823765b1ec241df4906527a990ec945c4392 (diff)
Get comm_adapters building again
I accidentally removed this module from compilation awhile back, this adds it
back in.

Closes #11076
Diffstat (limited to 'src/libstd/io/comm_adapters.rs')
-rw-r--r--src/libstd/io/comm_adapters.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/comm_adapters.rs b/src/libstd/io/comm_adapters.rs
index 7f94af8307e..7a78800c33d 100644
--- a/src/libstd/io/comm_adapters.rs
+++ b/src/libstd/io/comm_adapters.rs
@@ -38,7 +38,7 @@ pub struct PortReader {
 }
 
 impl PortReader {
-    pub fn new(port: Port<~[u8]>) -> PortReader<P> {
+    pub fn new(port: Port<~[u8]>) -> PortReader {
         PortReader {
             buf: None,
             pos: 0,
@@ -94,7 +94,7 @@ pub struct ChanWriter {
 }
 
 impl ChanWriter {
-    pub fn new(chan: C) -> ChanWriter<C> {
+    pub fn new(chan: Chan<~[u8]>) -> ChanWriter {
         ChanWriter { chan: chan }
     }
 }