Skip to content

Commit

Permalink
Corrected listing number from 9-10 to 9-13
Browse files Browse the repository at this point in the history
  • Loading branch information
ugandalf authored and carols10cents committed Feb 4, 2022
1 parent e7bfb35 commit c8a9ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch12-03-improving-error-handling-and-modularity.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ out of bounds` message.
arguments</span>

This code is similar to [the `Guess::new` function we wrote in Listing
9-10][ch9-custom-types]<!-- ignore -->, where we called `panic!` when the
9-13][ch9-custom-types]<!-- ignore -->, where we called `panic!` when the
`value` argument was out of the range of valid values. Instead of checking for
a range of values here, we’re checking that the length of `args` is at least 3
and the rest of the function can operate under the assumption that this
Expand Down

0 comments on commit c8a9ac9

Please sign in to comment.