From 88af15e10252fbb2b016ba75b3f2752c7b9c9323 Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Sun, 27 Oct 2013 08:51:50 +1100 Subject: [PATCH] Fix typos in spawn() documentation. --- asio/include/asio/spawn.hpp | 4 ++-- asio/src/doc/reference.qbk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/asio/include/asio/spawn.hpp b/asio/include/asio/spawn.hpp index 4c0512ea..cdf99ae4 100644 --- a/asio/include/asio/spawn.hpp +++ b/asio/include/asio/spawn.hpp @@ -130,7 +130,7 @@ private: }; #if defined(GENERATING_DOCUMENTATION) -/// Context object the represents the currently executing coroutine. +/// Context object that represents the currently executing coroutine. typedef basic_yield_context yield_context; #else // defined(GENERATING_DOCUMENTATION) typedef basic_yield_context< @@ -217,7 +217,7 @@ void spawn(basic_yield_context ctx, 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 17720240..26e5d5f7 100644 --- a/asio/src/doc/reference.qbk +++ b/asio/src/doc/reference.qbk @@ -88739,7 +88739,7 @@ This function is used to launch a new coroutine. [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 @@ The number of bytes written. If an error occurs, returns the total number of byt [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;