mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
keep the original text for is_some and is_none
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user