Skip to content

Commit 3c18b6c

Browse files
authored
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.
2 parents 41b6da1 + c65102e commit 3c18b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/iter/traits/iterator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1875,7 +1875,7 @@ pub trait Iterator {
18751875
/// without giving up ownership of the original iterator,
18761876
/// so you can use the original iterator afterwards.
18771877
///
1878-
/// 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).
1878+
/// 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).
18791879
///
18801880
/// # Examples
18811881
///

0 commit comments

Comments
 (0)