diff options
| author | Michael Howell <michael@notriddle.com> | 2023-02-03 19:02:20 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-02-03 19:03:17 -0700 |
| commit | fa6c3a2d2aab19fa95c8612c53ac87ac4c8c64dc (patch) | |
| tree | 909a42de4b2bc05bc84f63c107062ef60e879151 | |
| parent | 5f98a7f00e338c0985e7743be5b23dbd8f1039b3 (diff) | |
| download | rust-fa6c3a2d2aab19fa95c8612c53ac87ac4c8c64dc.tar.gz rust-fa6c3a2d2aab19fa95c8612c53ac87ac4c8c64dc.zip | |
docs: update fragment for Result impls
| -rw-r--r-- | library/core/src/result.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/core/src/result.rs b/library/core/src/result.rs index f00c40f35d5..7596e9cc005 100644 --- a/library/core/src/result.rs +++ b/library/core/src/result.rs @@ -458,7 +458,7 @@ //! [`Result`] of a collection of each contained value of the original //! [`Result`] values, or [`Err`] if any of the elements was [`Err`]. //! -//! [impl-FromIterator]: Result#impl-FromIterator%3CResult%3CA%2C%20E%3E%3E-for-Result%3CV%2C%20E%3E +//! [impl-FromIterator]: Result#impl-FromIterator%3CResult%3CA,+E%3E%3E-for-Result%3CV,+E%3E //! //! ``` //! let v = [Ok(2), Ok(4), Err("err!"), Ok(8)]; @@ -474,8 +474,8 @@ //! to provide the [`product`][Iterator::product] and //! [`sum`][Iterator::sum] methods. //! -//! [impl-Product]: Result#impl-Product%3CResult%3CU%2C%20E%3E%3E-for-Result%3CT%2C%20E%3E -//! [impl-Sum]: Result#impl-Sum%3CResult%3CU%2C%20E%3E%3E-for-Result%3CT%2C%20E%3E +//! [impl-Product]: Result#impl-Product%3CResult%3CU,+E%3E%3E-for-Result%3CT,+E%3E +//! [impl-Sum]: Result#impl-Sum%3CResult%3CU,+E%3E%3E-for-Result%3CT,+E%3E //! //! ``` //! let v = [Err("error!"), Ok(1), Ok(2), Ok(3), Err("foo")]; |
