Skip to content

Commit

Permalink
correct for copy paste errors when fixing wrapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokathor committed May 25, 2024
1 parent 22668e8 commit 2e8f14f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions library/core/src/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//! }
//! ```
//!
//! Functions return [`Result`] whenever errors are expected and recoverable. In
//! Functions return [`Result`] whenever errors are expected and
//! recoverable. In the `std` crate, [`Result`] is most prominently used
//! for [I/O](../../std/io/index.html).
//!
Expand All @@ -40,7 +40,7 @@
//! }
//! ```
//!
//! Pattern matching on [`Result`]s is clear and straightforward for simple
//! Pattern matching on [`Result`]s is clear and straightforward for
//! simple cases, but [`Result`] comes with some convenience methods
//! that make working with it more succinct.
//!
Expand Down Expand Up @@ -247,13 +247,13 @@
//!
//! # Method overview
//!
//! In addition to working with pattern matching, [`Result`] provides a wide
//! variety of different methods.
//! In addition to working with pattern matching, [`Result`] provides a
//! wide variety of different methods.
//!
//! ## Querying the variant
//!
//! In addition to working with pattern matching, [`Result`] provides a
//! wide variety of different methods.
//! The [`is_ok`] and [`is_err`] methods return [`true`] if the [`Result`]
//! is [`Ok`] or [`Err`], respectively.
//!
//! [`is_err`]: Result::is_err
//! [`is_ok`]: Result::is_ok
Expand Down

0 comments on commit 2e8f14f

Please sign in to comment.