diff options
Diffstat (limited to 'src/libstd/io/pipe.rs')
| -rw-r--r-- | src/libstd/io/pipe.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/pipe.rs b/src/libstd/io/pipe.rs index 11bb27573c2..6e2009545aa 100644 --- a/src/libstd/io/pipe.rs +++ b/src/libstd/io/pipe.rs @@ -24,7 +24,7 @@ use rt::rtio::{RtioPipe, LocalIo}; /// A synchronous, in-memory pipe. pub struct PipeStream { /// The internal, opaque runtime pipe object. - obj: Box<RtioPipe:Send>, + obj: Box<RtioPipe + Send>, } impl PipeStream { @@ -55,7 +55,7 @@ impl PipeStream { } #[doc(hidden)] - pub fn new(inner: Box<RtioPipe:Send>) -> PipeStream { + pub fn new(inner: Box<RtioPipe + Send>) -> PipeStream { PipeStream { obj: inner } } } |
