diff --git a/src/libstd/io/comm_adapters.rs b/src/libstd/io/comm_adapters.rs index 7f94af8307eae..7a78800c33d35 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
{
+ 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