From cc650a83b091994cedece08a23a82da1bd61a428 Mon Sep 17 00:00:00 2001 From: John Graley Date: Wed, 14 Feb 2024 18:18:46 +0000 Subject: [PATCH] Update design_notes.md --- coroutines/design_notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coroutines/design_notes.md b/coroutines/design_notes.md index ee58e6c44..3e861128c 100644 --- a/coroutines/design_notes.md +++ b/coroutines/design_notes.md @@ -1,6 +1,6 @@ ## Design Notes - - A "corouine" is officially a class or factory object bound to a coro body. + - A "coroutine" is officially a class or factory object bound to a coro body. It creates an RAII object, so an instance must be created and should be in a local scope (i.e. of the test case). Coroutines are implemented as lambdas because a lambda can be a C++20 coroutine, and we can capture the mock objects.