correct for copy paste errors when fixing wrapping.
This commit is contained in:
parent
22668e83f6
commit
2e8f14fb37
1 changed files with 6 additions and 6 deletions
|
@ -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
|
//! recoverable. In the `std` crate, [`Result`] is most prominently used
|
||||||
//! for [I/O](../../std/io/index.html).
|
//! for [I/O](../../std/io/index.html).
|
||||||
//!
|
//!
|
||||||
|
@ -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
|
//! simple cases, but [`Result`] comes with some convenience methods
|
||||||
//! that make working with it more succinct.
|
//! that make working with it more succinct.
|
||||||
//!
|
//!
|
||||||
|
@ -247,13 +247,13 @@
|
||||||
//!
|
//!
|
||||||
//! # Method overview
|
//! # Method overview
|
||||||
//!
|
//!
|
||||||
//! In addition to working with pattern matching, [`Result`] provides a wide
|
//! In addition to working with pattern matching, [`Result`] provides a
|
||||||
//! variety of different methods.
|
//! wide variety of different methods.
|
||||||
//!
|
//!
|
||||||
//! ## Querying the variant
|
//! ## Querying the variant
|
||||||
//!
|
//!
|
||||||
//! In addition to working with pattern matching, [`Result`] provides a
|
//! The [`is_ok`] and [`is_err`] methods return [`true`] if the [`Result`]
|
||||||
//! wide variety of different methods.
|
//! is [`Ok`] or [`Err`], respectively.
|
||||||
//!
|
//!
|
||||||
//! [`is_err`]: Result::is_err
|
//! [`is_err`]: Result::is_err
|
||||||
//! [`is_ok`]: Result::is_ok
|
//! [`is_ok`]: Result::is_ok
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue