Skip to content

Commit c11e728

Browse files
authored
Unrolled build for #152818
Rollup merge of #152818 - mgeier:doc-by_ref-link, r=scottmcm DOC: do not link to "nightly" in Iterator::by_ref() docstring I happened to see that the link in the docstring https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.by_ref points to the "nightly" docs instead of "stable". I'm not sure if my fix actually works because I didn't get `cargo doc` to run on my local computer.
2 parents 59fd4ef + 5c64b89 commit c11e728

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1908,7 +1908,7 @@ pub const trait Iterator {
19081908
/// without giving up ownership of the original iterator,
19091909
/// so you can use the original iterator afterwards.
19101910
///
1911-
/// 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).
1911+
/// Uses [`impl<I: Iterator + ?Sized> Iterator for &mut I { type Item = I::Item; ...}`](Iterator#impl-Iterator-for-%26mut+I).
19121912
///
19131913
/// # Examples
19141914
///

0 commit comments

Comments
 (0)