We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 841fd4c commit ee6ff69Copy full SHA for ee6ff69
book/src/tutorial-5.md
@@ -61,7 +61,7 @@ mod tests {
61
// Finish the compression stream.
62
let result = BZ2_bzCompressEnd(&mut stream as *mut _);
63
match result {
64
- r if r == (BZ_PARAM_ERROR as _) => panic!(BZ_PARAM_ERROR),
+ r if r == (BZ_PARAM_ERROR as _) => panic!("BZ_PARAM_ERROR"),
65
r if r == (BZ_OK as _) => {},
66
r => panic!("Unknown return value = {}", r),
67
}
0 commit comments