aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2024-01-04 19:43:46 +0100
committerArsen Arsenović <arsen@gcc.gnu.org>2024-01-04 19:51:54 +0100
commit589781c1d266290e6a84fdb65fc979354d67dbac (patch)
treebea2bf64c81a9536645ae97a2d8059104a13ea18
parent29ad18f0cf2684374d9576714fc8bd388f71f61b (diff)
downloadgcc-589781c1d266290e6a84fdb65fc979354d67dbac.zip
gcc-589781c1d266290e6a84fdb65fc979354d67dbac.tar.gz
gcc-589781c1d266290e6a84fdb65fc979354d67dbac.tar.bz2
libstdc++: fix typo in <generator>
libstdc++-v3/ChangeLog: * include/std/generator (_Subyield_state::_M_jump_in): Fix typo reported by Will Hawkins <hawkinsw@obs.cr>.
-rw-r--r--libstdc++-v3/include/std/generator2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/generator b/libstdc++-v3/include/std/generator
index a8ad9c4..e7ef5dd 100644
--- a/libstdc++-v3/include/std/generator
+++ b/libstdc++-v3/include/std/generator
@@ -269,7 +269,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{
__glibcxx_assert(&__new.promise()._M_nest == this);
__glibcxx_assert(this->_M_is_bottom());
- // We're bottom. We're also top of top is unset (note that this is
+ // We're bottom. We're also top if top is unset (note that this is
// not true if something was added to the coro stack and then popped,
// but in that case we can't possibly be yielded from, as it would
// require rerunning begin()).