From 7df70c7617c93fe7c0033448cc1e93cc8ebbe3e0 Mon Sep 17 00:00:00 2001 From: phaller Date: Mon, 12 Nov 2012 15:49:41 +0100 Subject: Fix doc comment of await --- src/main/scala/scala/async/Async.scala | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/main/scala') diff --git a/src/main/scala/scala/async/Async.scala b/src/main/scala/scala/async/Async.scala index 4f7fa01..dac35d5 100644 --- a/src/main/scala/scala/async/Async.scala +++ b/src/main/scala/scala/async/Async.scala @@ -53,14 +53,14 @@ abstract class AsyncBase { /** * A call to `await` must be nested in an enclosing `async` block. - * - * A call to await does not block the thread, rather it is a delimiter + * + * A call to `await` does not block the current thread, rather it is a delimiter * used by the enclosing `async` macro. Code following the `await` - * call. - * - * @param awaitable The future from which a value is awaited - * @tparam T The type of that value - * @return The value + * call is executed asynchronously, when the argument of `await` has been completed. + * + * @param awaitable the future from which a value is awaited. + * @tparam T the type of that value. + * @return the value. */ // TODO Replace with `@compileTimeOnly when this is implemented SI-6539 @deprecated("`await` must be enclosed in an `async` block", "0.1") -- cgit v1.2.3