From ef6cf65af52cde36d0a3685edac28a3a7399f789 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Wed, 11 Feb 2026 06:02:22 -0800 Subject: [PATCH] Fix typo in Optional(m) description. PiperOrigin-RevId: 868638000 Change-Id: I952801ff229e4b1d195ef69761de36c34724604e --- docs/reference/matchers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/matchers.md b/docs/reference/matchers.md index 665feee9..270a5b34 100644 --- a/docs/reference/matchers.md +++ b/docs/reference/matchers.md @@ -49,7 +49,7 @@ Matcher | Description | `IsTrue()` | `argument` evaluates to `true` in a Boolean context. | | `IsNull()` | `argument` is a `NULL` pointer (raw or smart). | | `NotNull()` | `argument` is a non-null pointer (raw or smart). | -| `Optional(m)` | `argument` is `optional<>` that contains a value matching `m`. (For testing whether an `optional<>` is set, check for equality with `nullopt`. You may need to use `Eq(nullopt)` if the inner type doesn't have `==`.)| +| `Optional(m)` | `argument` is `optional<>` that contains a value matching `m`. (For testing whether an `optional<>` is unset, check for equality with `nullopt`. You may need to use `Eq(nullopt)` if the inner type doesn't have `==`.)| | `VariantWith(m)` | `argument` is `variant<>` that holds the alternative of type T with a value matching `m`. | | `AnyWith(m)` | `argument` is `any<>` that holds a value of type T with a value matching `m`. | | `Ref(variable)` | `argument` is a reference to `variable`. |