Skip to content

Commit d60d776

Browse files
committed
Correct typo pointed out by @huonw
1 parent 5c92d91 commit d60d776

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/0000-fn-return-should-be-an-associated-type.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct Map<I,F>
5151
...
5252
}
5353

54-
impl<I,F> Iterator for Map<A,B>,
54+
impl<I,F> Iterator for Map<I,F>,
5555
where I : Iterator,
5656
F : FnMut<(I::Item,)>,
5757
{
@@ -116,7 +116,7 @@ struct Map<I,F>
116116
...
117117
}
118118

119-
impl<B,I,F> Iterator for Map<A,B>,
119+
impl<B,I,F> Iterator for Map<I,F>,
120120
where I : Iterator,
121121
F : FnMut(I::Item) -> B
122122
{

0 commit comments

Comments
 (0)