Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 65726c0

Browse filesBrowse files
committed
correct for copy paste errors when fixing wrapping.
1 parent 613145f commit 65726c0
Copy full SHA for 65726c0

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎core/src/result.rs

Copy file name to clipboardExpand all lines: core/src/result.rs
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
//! }
1414
//! ```
1515
//!
16-
//! Functions return [`Result`] whenever errors are expected and recoverable. In
16+
//! Functions return [`Result`] whenever errors are expected and
1717
//! recoverable. In the `std` crate, [`Result`] is most prominently used
1818
//! for [I/O](../../std/io/index.html).
1919
//!
@@ -40,7 +40,7 @@
4040
//! }
4141
//! ```
4242
//!
43-
//! Pattern matching on [`Result`]s is clear and straightforward for simple
43+
//! Pattern matching on [`Result`]s is clear and straightforward for
4444
//! simple cases, but [`Result`] comes with some convenience methods
4545
//! that make working with it more succinct.
4646
//!
@@ -247,13 +247,13 @@
247247
//!
248248
//! # Method overview
249249
//!
250-
//! In addition to working with pattern matching, [`Result`] provides a wide
251-
//! variety of different methods.
250+
//! In addition to working with pattern matching, [`Result`] provides a
251+
//! wide variety of different methods.
252252
//!
253253
//! ## Querying the variant
254254
//!
255-
//! In addition to working with pattern matching, [`Result`] provides a
256-
//! wide variety of different methods.
255+
//! The [`is_ok`] and [`is_err`] methods return [`true`] if the [`Result`]
256+
//! is [`Ok`] or [`Err`], respectively.
257257
//!
258258
//! [`is_err`]: Result::is_err
259259
//! [`is_ok`]: Result::is_ok

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.