summaryrefslogtreecommitdiff
path: root/absl/functional
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2024-04-26 09:15:50 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2024-04-26 09:17:06 -0700
commitf638e34270be76d15decb08f0e5d48b6f1f1b2c8 (patch)
treeddf5c1df37412660a6eed0828272e8fde0ffaf2a /absl/functional
parentd3b1c7bbd2ece5755aaa58e9d8366a419b036fb5 (diff)
Fix order of qualifiers in `absl::AnyInvocable` documentation.
PiperOrigin-RevId: 628424298 Change-Id: Ia4d15decff040add1b161cd9b472f19f562c49f9
Diffstat (limited to 'absl/functional')
-rw-r--r--absl/functional/any_invocable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/absl/functional/any_invocable.h b/absl/functional/any_invocable.h
index 68d88253..176077ae 100644
--- a/absl/functional/any_invocable.h
+++ b/absl/functional/any_invocable.h
@@ -98,9 +98,9 @@ ABSL_NAMESPACE_BEGIN
// `AnyInvocable` also properly respects `const` qualifiers, reference
// qualifiers, and the `noexcept` specification (only in C++ 17 and beyond) as
// part of the user-specified function type (e.g.
-// `AnyInvocable<void()&& const noexcept>`). These qualifiers will be applied to
-// the `AnyInvocable` object's `operator()`, and the underlying invocable must
-// be compatible with those qualifiers.
+// `AnyInvocable<void() const && noexcept>`). These qualifiers will be applied
+// to the `AnyInvocable` object's `operator()`, and the underlying invocable
+// must be compatible with those qualifiers.
//
// Comparison of const and non-const function types:
//