aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2013-06-30 12:15:43 -0700
committerPhilipp Haller <hallerp@gmail.com>2013-06-30 12:15:43 -0700
commit876ec8cfb39c60932b99a6985fc86737fb99b85e (patch)
tree6a1286dbe6f8c46749c9b866134249ed8d46faea
parentf41769c00a47917d82c0c73ef8eba4c71f919092 (diff)
downloadscala-async-tutorial.tar.gz
scala-async-tutorial.tar.bz2
scala-async-tutorial.zip
Fix typos and formattingtutorial
-rw-r--r--doc/tutorial.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md
index b1cb5a8..f509fa6 100644
--- a/doc/tutorial.md
+++ b/doc/tutorial.md
@@ -16,7 +16,7 @@ imported. (In a future stable release, these members might be moved
to the `scala.async` package object.) A language import to enable
macros is not required for users of async/await.
-## The async construct
+## The `async` Construct
The `async` construct has the following signature:
@@ -31,7 +31,7 @@ compilation fails. (Similar to how `future { ... }` works.)
The body of `async` may contain calls to `await` which is explained next.
-## The `await` construct
+## The `await` Construct
Calling `await` inside the body of an `async` block suspends the
evaluation of the `async` block until a given future is completed