Skip to content

Commit 806e913

Browse files
committed
Fix warnings about missing docs
Documentation redirects to the substitutes.
1 parent 8ffaefc commit 806e913

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/adaptors/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,7 @@ where
10861086
I::Item: Into<R>,
10871087
{}
10881088

1089+
/// See [`MapOk`](struct.MapOk.html).
10891090
#[deprecated(note="Use MapOk instead", since="0.10")]
10901091
pub type MapResults<I, F> = MapOk<I, F>;
10911092

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ pub trait Itertools : Iterator {
748748
adaptors::map_into(self)
749749
}
750750

751+
/// See [`.map_ok()`](#method.map_ok).
751752
#[deprecated(note="Use .map_ok() instead", since="0.10")]
752753
fn map_results<F, T, U, E>(self, f: F) -> MapOk<Self, F>
753754
where Self: Iterator<Item = Result<T, E>> + Sized,
@@ -1839,6 +1840,7 @@ pub trait Itertools : Iterator {
18391840
format::new_format(self, sep, format)
18401841
}
18411842

1843+
/// See [`.fold_ok()`](#method.fold_ok).
18421844
#[deprecated(note="Use .fold_ok() instead", since="0.10")]
18431845
fn fold_results<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>
18441846
where Self: Iterator<Item = Result<A, E>>,

0 commit comments

Comments
 (0)