File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ pub struct PortReader {
38
38
}
39
39
40
40
impl PortReader {
41
- pub fn new ( port : Port < ~[ u8 ] > ) -> PortReader < P > {
41
+ pub fn new ( port : Port < ~[ u8 ] > ) -> PortReader {
42
42
PortReader {
43
43
buf : None ,
44
44
pos : 0 ,
@@ -94,7 +94,7 @@ pub struct ChanWriter {
94
94
}
95
95
96
96
impl ChanWriter {
97
- pub fn new ( chan : C ) -> ChanWriter < C > {
97
+ pub fn new ( chan : Chan < ~ [ u8 ] > ) -> ChanWriter {
98
98
ChanWriter { chan : chan }
99
99
}
100
100
}
Original file line number Diff line number Diff line change @@ -335,6 +335,9 @@ pub mod signal;
335
335
/// Utility implementations of Reader and Writer
336
336
pub mod util;
337
337
338
+ /// Adapatation of Chan/Port types to a Writer/Reader type.
339
+ pub mod comm_adapters;
340
+
338
341
/// The default buffer size for various I/O operations
339
342
static DEFAULT_BUF_SIZE : uint = 1024 * 64 ;
340
343
You can’t perform that action at this time.
0 commit comments