summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--book/src/tutorial-5.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/tutorial-5.md b/book/src/tutorial-5.md
index 54b4dda5..de91d092 100644
--- a/book/src/tutorial-5.md
+++ b/book/src/tutorial-5.md
@@ -61,7 +61,7 @@ mod tests {
// Finish the compression stream.
let result = BZ2_bzCompressEnd(&mut stream as *mut _);
match result {
- r if r == (BZ_PARAM_ERROR as _) => panic!(BZ_PARAM_ERROR),
+ r if r == (BZ_PARAM_ERROR as _) => panic!("BZ_PARAM_ERROR"),
r if r == (BZ_OK as _) => {},
r => panic!("Unknown return value = {}", r),
}