Fix typos in spawn() documentation.
diff --git a/asio/include/asio/spawn.hpp b/asio/include/asio/spawn.hpp index 4c0512e..cdf99ae 100644 --- a/asio/include/asio/spawn.hpp +++ b/asio/include/asio/spawn.hpp
@@ -130,7 +130,7 @@ }; #if defined(GENERATING_DOCUMENTATION) -/// Context object the represents the currently executing coroutine. +/// Context object that represents the currently executing coroutine. typedef basic_yield_context<unspecified> yield_context; #else // defined(GENERATING_DOCUMENTATION) typedef basic_yield_context< @@ -217,7 +217,7 @@ const boost::coroutines::attributes& attributes = boost::coroutines::attributes()); -/// Start a new stackful coroutine that executes in the contex of a strand. +/// Start a new stackful coroutine that executes in the context of a strand. /** * This function is used to launch a new coroutine. *
diff --git a/asio/src/doc/reference.qbk b/asio/src/doc/reference.qbk index 1772024..26e5d5f 100644 --- a/asio/src/doc/reference.qbk +++ b/asio/src/doc/reference.qbk
@@ -88739,7 +88739,7 @@ [section:overload3 spawn (3 of 4 overloads)] -Start a new stackful coroutine that executes in the contex of a strand. +Start a new stackful coroutine that executes in the context of a strand. template< @@ -106138,7 +106138,7 @@ [section:yield_context yield_context] [indexterm1 yield_context] -Context object the represents the currently executing coroutine. +Context object that represents the currently executing coroutine. typedef basic_yield_context< unspecified > yield_context;