Skip to content

Commit 001a833

Browse files
authored
fix a few more typos (#36)
1 parent 5675853 commit 001a833

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

coroutine_skeleton.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ struct ReturnType::promise_type {
6060
return {ReturnType::handle_type::from_promise(*this)};
6161
}
6262
// REQUIRED
63-
// called on coroutine start, then implicitly `co_await` the retuned value
63+
// called on coroutine start, then implicitly `co_await` the returned value
6464
/*awaitable*/ initial_suspend();
6565
// REQUIRED
66-
// called on coroutine completion, then implicitly `co_await` the retuned
66+
// called on coroutine completion, then implicitly `co_await` the returned
6767
// value
6868
/*awaitable*/ final_suspend();
6969
// REQUIRED

examples/alien.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ int main() {
169169
log() << "main Starting\n";
170170
CoroutineTests::Threadpool threadpool(1);
171171
auto scheduler = [&threadpool](std::coroutine_handle<> handle) {
172-
log() << "scheduler Reschedule called, enqueueing resumption\n";
172+
log() << "scheduler Reschedule called, enqueuing resumption\n";
173173
threadpool.enqueue_task(handle);
174174
};
175175
log() << "main Launching algorithm...\n";

examples/alien_manual.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ int main() {
202202
log() << "main Detected DONE state, exiting loop\n";
203203
break;
204204
}
205-
log() << "main Algorithm ready to resume, enqueueing...\n";
205+
log() << "main Algorithm ready to resume, enqueuing ...\n";
206206
state.store(State::SCHEDULED);
207207
threadpool.enqueue_task([&state, &t, &result]() {
208208
std::optional<CoroutineTests::alien::manual_algorithm::StatusCode>

0 commit comments

Comments
 (0)