We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c6527e + f6e5369 commit a96f09bCopy full SHA for a96f09b
src/doc/trpl/error-handling.md
@@ -181,6 +181,8 @@ match version {
181
This function makes use of an enum, `ParseError`, to enumerate the various
182
errors that can occur.
183
184
+The [`Debug`](../std/fmt/trait.Debug.html) trait is what lets us print the enum value using the `{:?}` format operation.
185
+
186
# Non-recoverable errors with `panic!`
187
188
In the case of an error that is unexpected and not recoverable, the `panic!`
0 commit comments