Skip to content

Commit 1fd928e

Browse files
fix doc error
1 parent 3a14991 commit 1fd928e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/result.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@
260260
//! is [`Ok`] or [`Err`], respectively.
261261
//!
262262
//! The [`is_ok_and`] and [`is_err_and`] methods apply the provided function
263-
//! to the contents of the [`Result`] to produce a boolean value. If the [`Result`]` does not have the expected variant
264-
//! then `false` is returned instead without executing the function.
263+
//! to the contents of the [`Result`] to produce a boolean value. If the [`Result`] does not have the expected variant
264+
//! then [`false`] is returned instead without executing the function.
265265
//!
266266
//! [`is_err`]: Result::is_err
267267
//! [`is_ok`]: Result::is_ok

0 commit comments

Comments
 (0)