Skip to content

Commit ae1cb83

Browse files
prorealizejoboet
andauthored
Update library/core/src/result.rs
Co-authored-by: joboet <[email protected]>
1 parent 8671921 commit ae1cb83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: core/src/result.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
//! assert!(good_result.is_ok() && !good_result.is_err());
5252
//! assert!(bad_result.is_err() && !bad_result.is_ok());
5353
//!
54-
//! // `map` and `map_err` consume the `Result` and produces another.
54+
//! // `map` and `map_err` consume the `Result` and produce another.
5555
//! let good_result: Result<i32, i32> = good_result.map(|i| i + 1);
5656
//! let bad_result: Result<i32, i32> = bad_result.map_err(|i| i - 1);
5757
//! assert_eq!(good_result, Ok(11));

0 commit comments

Comments
 (0)