Skip to content

Commit c0446d3

Browse files
keep the original text for is_some and is_none
1 parent ea0b6cb commit c0446d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/option.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@
159159
//!
160160
//! ## Querying the variant
161161
//!
162-
//! The [`is_some`] and [`is_none`] methods borrow of the [`Option`]
163-
//! and return [`true`] if the [`Option`] is [`Some`] or [`None`], respectively.
162+
//! The [`is_some`] and [`is_none`] methods return [`true`] if the [`Option`]
163+
//! is [`Some`] or [`None`], respectively.
164164
//!
165165
//! The [`is_some_and`] and [`is_none_or`] methods apply the provided function
166166
//! to the contents of the [`Option`] to produce a boolean value.

0 commit comments

Comments
 (0)