[pushed,2/2] libstdc++: fix typo in <generator>

Message ID 20240104185321.3276425-2-arsen@aarsen.me
State Unresolved
Headers
Series [pushed,1/2] libstdc++: rename _A badname in <generator> |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Arsen Arsenović Jan. 4, 2024, 6:52 p.m. UTC
  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(-)
  

Patch

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