wibble
This commit is contained in:
parent
8ab075ee45
commit
eb9d0e89d1
@ -292,10 +292,9 @@ fn future_writer() -> (writer, future::future<str>) {
|
||||
loop {
|
||||
alt comm::recv(port) {
|
||||
write(s) { res += s }
|
||||
done { break }
|
||||
done { ret res; }
|
||||
}
|
||||
}
|
||||
res
|
||||
};
|
||||
};
|
||||
(writer, future)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user