We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea0b6cb commit c0446d3Copy full SHA for c0446d3
library/core/src/option.rs
@@ -159,8 +159,8 @@
159
//!
160
//! ## Querying the variant
161
162
-//! The [`is_some`] and [`is_none`] methods borrow of the [`Option`]
163
-//! 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.
164
165
//! The [`is_some_and`] and [`is_none_or`] methods apply the provided function
166
//! to the contents of the [`Option`] to produce a boolean value.
0 commit comments