From 9553ef779f32ddb76cd131e4716c17da86346c85 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Fri, 12 Sep 2014 23:18:34 +0300 Subject: [PATCH] README: fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc884ae95a..4c861ddeb6 100644 --- a/README.md +++ b/README.md @@ -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 newline at end of file +no further I/O needs to take place.