File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ struct Custom {
147
147
/// In application code, use `match` for the `ErrorKind` values you are expecting; use `_` to match
148
148
/// "all other errors".
149
149
///
150
- /// In comprehensive and thorough tests that want to verify that a test doesn't return any known incorrect error kind,
150
+ /// In comprehensive and thorough tests that want to verify that a test doesn't return any known incorrect error kind,
151
151
/// you may want to cut-and-paste the current list of errors from here into your test code. This seems counterintuitive,
152
152
/// but it will make your tests more robust. In particular, if you want to verify that your code does produce an
153
153
/// unrecognized error kind, the robust solution is to check for all the recognized error kinds and fail in those cases.
You can’t perform that action at this time.
0 commit comments