diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index 55243b725..2532d597f 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -5548,7 +5548,7 @@ inline InnerMatcher AllArgs(const InnerMatcher& matcher) { // printable using 'PrintToString'. It is compatible with // std::optional/std::experimental::optional. // Note that to compare an optional type variable against nullopt you should -// use Eq(nullopt) and not Eq(Optional(nullopt)). The latter implies that the +// use Eq(nullopt) and not Optional(Eq(nullopt)). The latter implies that the // optional value contains an optional itself. template inline internal::OptionalMatcher Optional(