Skip to content

Commit b702060

Browse files
committed
Intra doc links for iterator adapters
1 parent b3b1e0c commit b702060

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5256,7 +5256,7 @@ dependencies = [
52565256
"chrono",
52575257
"lazy_static",
52585258
"matchers",
5259-
"parking_lot 0.11.0",
5259+
"parking_lot 0.9.0",
52605260
"regex",
52615261
"serde",
52625262
"serde_json",

library/core/src/iter/adapters/flatten.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ where
120120
/// This `struct` is created by the [`flatten`] method on [`Iterator`]. See its
121121
/// documentation for more.
122122
///
123-
/// [`flatten`]: Iterator::flatten
124-
/// [`Iterator`]: trait.Iterator.html
123+
/// [`flatten`]: Iterator::flatten()
125124
#[must_use = "iterators are lazy and do nothing unless consumed"]
126125
#[stable(feature = "iterator_flatten", since = "1.29.0")]
127126
pub struct Flatten<I: Iterator<Item: IntoIterator>> {

library/core/src/iter/adapters/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ pub unsafe trait SourceIter {
110110
/// * whatever remains in the source after iteration has stopped
111111
/// * the memory that has become unused by advancing a consuming iterator
112112
///
113-
/// [`next()`]: Iterator::next
113+
/// [`next()`]: Iterator::next()
114114
unsafe fn as_inner(&mut self) -> &mut Self::Source;
115115
}
116116

0 commit comments

Comments
 (0)