Skip to content

Commit 88af15e

Browse files
committed
Fix typos in spawn() documentation.
1 parent 7d86faf commit 88af15e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

asio/include/asio/spawn.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class basic_yield_context
130130
};
131131

132132
#if defined(GENERATING_DOCUMENTATION)
133-
/// Context object the represents the currently executing coroutine.
133+
/// Context object that represents the currently executing coroutine.
134134
typedef basic_yield_context<unspecified> yield_context;
135135
#else // defined(GENERATING_DOCUMENTATION)
136136
typedef basic_yield_context<
@@ -217,7 +217,7 @@ void spawn(basic_yield_context<Handler> ctx,
217217
const boost::coroutines::attributes& attributes
218218
= boost::coroutines::attributes());
219219

220-
/// Start a new stackful coroutine that executes in the contex of a strand.
220+
/// Start a new stackful coroutine that executes in the context of a strand.
221221
/**
222222
* This function is used to launch a new coroutine.
223223
*

asio/src/doc/reference.qbk

+2-2
Original file line numberDiff line numberDiff line change
@@ -88739,7 +88739,7 @@ This function is used to launch a new coroutine.
8873988739
[section:overload3 spawn (3 of 4 overloads)]
8874088740

8874188741

88742-
Start a new stackful coroutine that executes in the contex of a strand.
88742+
Start a new stackful coroutine that executes in the context of a strand.
8874388743

8874488744

8874588745
template<
@@ -106138,7 +106138,7 @@ The number of bytes written. If an error occurs, returns the total number of byt
106138106138
[section:yield_context yield_context]
106139106139

106140106140
[indexterm1 yield_context]
106141-
Context object the represents the currently executing coroutine.
106141+
Context object that represents the currently executing coroutine.
106142106142

106143106143

106144106144
typedef basic_yield_context< unspecified > yield_context;

0 commit comments

Comments
 (0)