Skip to content

Commit

Permalink
Fix broken link to Chapter 13-01 in Chapter 12-04
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyvion committed Jul 11, 2019
1 parent 7ddc464 commit 315c48f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ch12-04-testing-the-librarys-functionality.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ pub fn search<'a>(query: &str, contents: &'a str) -> Vec<&'a str> {
</span>

The `lines` method returns an iterator. We’ll talk about iterators in depth in
[Chapter 13][ch13]<!-- ignore -->, but recall that you saw this way of using an
[Chapter 13][ch13-iterators]<!-- ignore -->, but recall that you saw this way of using an
iterator in [Listing 3-5][ch3-iter]<!-- ignore -->, where we used a `for` loop
with an iterator to run some code on each item in a collection.

Expand Down Expand Up @@ -336,3 +336,4 @@ ch10-03-lifetime-syntax.html#validating-references-with-lifetimes
[ch11-anatomy]: ch11-01-writing-tests.html#the-anatomy-of-a-test-function
[ch10-lifetimes]: ch10-03-lifetime-syntax.html
[ch3-iter]: ch03-05-control-flow.html#looping-through-a-collection-with-for
[ch13-iterators]: ch13-02-iterators.html

0 comments on commit 315c48f

Please sign in to comment.