diff options
| author | Hegui Dai <natural_selection_@outlook.com> | 2025-04-24 12:23:53 +0800 |
|---|---|---|
| committer | Hegui Dai <natural_selection_@outlook.com> | 2025-04-24 12:23:53 +0800 |
| commit | 1fd928ef89f00994790a7660436db5d05ac762b7 (patch) | |
| tree | 41c7d643044e13f65d4f68a50cae6a9f9000dd07 /library | |
| parent | 3a14991e77b890c6971e9d02e83d25bc281f2a70 (diff) | |
| download | rust-1fd928ef89f00994790a7660436db5d05ac762b7.tar.gz rust-1fd928ef89f00994790a7660436db5d05ac762b7.zip | |
fix doc error
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/result.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/result.rs b/library/core/src/result.rs index 98369857933..a512c451659 100644 --- a/library/core/src/result.rs +++ b/library/core/src/result.rs @@ -260,8 +260,8 @@ //! is [`Ok`] or [`Err`], respectively. //! //! The [`is_ok_and`] and [`is_err_and`] methods apply the provided function -//! to the contents of the [`Result`] to produce a boolean value. If the [`Result`]` does not have the expected variant -//! then `false` is returned instead without executing the function. +//! to the contents of the [`Result`] to produce a boolean value. If the [`Result`] does not have the expected variant +//! then [`false`] is returned instead without executing the function. //! //! [`is_err`]: Result::is_err //! [`is_ok`]: Result::is_ok |
