From: "Arsen Arsenović" <arsen@aarsen.me>
To: gcc-patches@gcc.gnu.org
Cc: "Arsen Arsenović" <arsen@aarsen.me>
Subject: [pushed 2/2] libstdc++: fix typo in <generator>
Date: Thu, 4 Jan 2024 19:52:59 +0100 [thread overview]
Message-ID: <20240104185321.3276425-2-arsen@aarsen.me> (raw)
In-Reply-To: <20240104185321.3276425-1-arsen@aarsen.me>
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/include/std/generator b/libstdc++-v3/include/std/generator
index a8ad9c443531..e7ef5ddfdd34 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()).
--
2.43.0
prev parent reply other threads:[~2024-01-04 18:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-04 18:52 [pushed 1/2] libstdc++: rename _A badname " Arsen Arsenović
2024-01-04 18:52 ` Arsen Arsenović [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240104185321.3276425-2-arsen@aarsen.me \
--to=arsen@aarsen.me \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).