diff options
| author | Ivan Enderlin <ivan@mnt.io> | 2025-08-07 13:20:09 +0200 |
|---|---|---|
| committer | Ivan Enderlin <ivan@mnt.io> | 2025-08-07 13:20:09 +0200 |
| commit | c65102e745c5637d0da3e9649aaba7afdce7aa08 (patch) | |
| tree | 3febb77790f276a8bd6583bee90f921fe48d3dca | |
| parent | 9b1a30e5e69e1537ef6eb6eb829eb47075206dea (diff) | |
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 /// |
