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>.
This commit is contained in:
Arsen Arsenović 2024-01-04 19:43:46 +01:00 committed by Arsen Arsenović
parent 29ad18f0cf
commit 589781c1d2
No known key found for this signature in database
GPG key ID: 52C294301EA2C493

View 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()).