This commit is contained in:
Tim Chevalier 2012-03-10 20:36:48 -08:00
parent 8ab075ee45
commit eb9d0e89d1

View File

@ -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)
}