Skip to content

Commit fa6c3a2

Browse files
committed
docs: update fragment for Result impls
1 parent 5f98a7f commit fa6c3a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/result.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@
458458
//! [`Result`] of a collection of each contained value of the original
459459
//! [`Result`] values, or [`Err`] if any of the elements was [`Err`].
460460
//!
461-
//! [impl-FromIterator]: Result#impl-FromIterator%3CResult%3CA%2C%20E%3E%3E-for-Result%3CV%2C%20E%3E
461+
//! [impl-FromIterator]: Result#impl-FromIterator%3CResult%3CA,+E%3E%3E-for-Result%3CV,+E%3E
462462
//!
463463
//! ```
464464
//! let v = [Ok(2), Ok(4), Err("err!"), Ok(8)];
@@ -474,8 +474,8 @@
474474
//! to provide the [`product`][Iterator::product] and
475475
//! [`sum`][Iterator::sum] methods.
476476
//!
477-
//! [impl-Product]: Result#impl-Product%3CResult%3CU%2C%20E%3E%3E-for-Result%3CT%2C%20E%3E
478-
//! [impl-Sum]: Result#impl-Sum%3CResult%3CU%2C%20E%3E%3E-for-Result%3CT%2C%20E%3E
477+
//! [impl-Product]: Result#impl-Product%3CResult%3CU,+E%3E%3E-for-Result%3CT,+E%3E
478+
//! [impl-Sum]: Result#impl-Sum%3CResult%3CU,+E%3E%3E-for-Result%3CT,+E%3E
479479
//!
480480
//! ```
481481
//! let v = [Err("error!"), Ok(1), Ok(2), Ok(3), Err("foo")];

0 commit comments

Comments
 (0)