about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/src/option.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/option.rs b/library/core/src/option.rs
index 9789912719b..c0005cdee08 100644
--- a/library/core/src/option.rs
+++ b/library/core/src/option.rs
@@ -159,8 +159,8 @@
 //!
 //! ## Querying the variant
 //!
-//! The [`is_some`] and [`is_none`] methods borrow of the [`Option`]
-//! and return [`true`] if the [`Option`] is [`Some`] or [`None`], respectively.
+//! The [`is_some`] and [`is_none`] methods return [`true`] if the [`Option`]
+//! is [`Some`] or [`None`], respectively.
 //!
 //! The [`is_some_and`] and [`is_none_or`] methods apply the provided function
 //! to the contents of the [`Option`] to produce a boolean value.