diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2025-08-07 19:36:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-07 19:36:39 -0500 |
| commit | 3c18b6ce6671a5c762aa593c49f5a495e3686e6c (patch) | |
| tree | 6ae410edb933c147ffccd04fd5bfa6bbf275979e | |
| parent | 41b6da1f2155ab88636e22f136f2afe8426359d2 (diff) | |
| parent | c65102e745c5637d0da3e9649aaba7afdce7aa08 (diff) | |
| download | rust-3c18b6ce6671a5c762aa593c49f5a495e3686e6c.tar.gz rust-3c18b6ce6671a5c762aa593c49f5a495e3686e6c.zip | |
Rollup merge of #145045 - Hywan:doc-library-iterator-by_ref, r=GuillaumeGomez
doc(library): Fix Markdown in `Iterator::by_ref` This patch fixes the Markdown formatting in `std::core::iter::Iterator::by_ref`. Code is used inside a link without the backticks around the code.
| -rw-r--r-- | library/core/src/iter/traits/iterator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index 29313867ff2..7fb162a653f 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -1875,7 +1875,7 @@ pub trait Iterator { /// without giving up ownership of the original iterator, /// so you can use the original iterator afterwards. /// - /// Uses [impl<I: Iterator + ?Sized> Iterator for &mut I { type Item = I::Item; ...}](https://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#impl-Iterator-for-%26mut+I). + /// Uses [`impl<I: Iterator + ?Sized> Iterator for &mut I { type Item = I::Item; ...}`](https://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#impl-Iterator-for-%26mut+I). /// /// # Examples /// |
