]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: fix typo in <generator>
authorArsen Arsenović <arsen@aarsen.me>
Thu, 4 Jan 2024 18:43:46 +0000 (19:43 +0100)
committerArsen Arsenović <arsen@gcc.gnu.org>
Thu, 4 Jan 2024 18:51:54 +0000 (19:51 +0100)
libstdc++-v3/ChangeLog:

* include/std/generator (_Subyield_state::_M_jump_in): Fix typo
reported by Will Hawkins <hawkinsw@obs.cr>.

libstdc++-v3/include/std/generator

index a8ad9c443531fbc68c54db123d41bdd043d5dfe6..e7ef5ddfdd342f5b25485c98ece022c75da5e445 100644 (file)
@@ -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()).