Skip to content

Commit 3f72a06

Browse files
committed
Forward reference to api docs
1 parent 234e758 commit 3f72a06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ch09-03-to-panic-or-not-to-panic.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ If code calling `Guess::new` passed in a value that was not between 1 and 100,
140140
that would be a violation of the contract that `Guess::new` is relying on. This
141141
function needs to signal to the calling code that it has a bug somewhere
142142
leading to the contract violation. The conditions in which `Guess::new` might
143-
panic should be discussed in its public-facing API documentation.
143+
panic should be discussed in its public-facing API documentation, which we will
144+
cover in Chapter XX.
144145

145146
Important to note is the `value` field of the `Guess` struct is private, so
146147
code using this struct may not set that value directly. Callers *must* use the

0 commit comments

Comments
 (0)