README: fix typo

This commit is contained in:
Avi Kivity
2014-09-12 23:18:34 +03:00
parent fbf043bf07
commit 9553ef779f

View File

@@ -85,7 +85,7 @@ future<> put(int) // promises to store an int
future<> loop_to(int end) {
get().then([end] (int value) {
if (value == end) {
return make_read_future<>();
return make_ready_future<>();
}
return put(value + 1);
}).then([end] {
@@ -96,4 +96,4 @@ future<> loop_to(int end) {
The *make_ready_future()* function returns a future that is already
available --- corresponding to the loop termination condition, where
no further I/O needs to take place.
no further I/O needs to take place.