Skip to content

Commit

Permalink
[Fix] Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsan committed Jan 1, 2021
1 parent 600d22c commit f53afc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ language.

### Anti-patterns

* [panic::catch_unwind for exceptions](anti_patterns/catch_panic.md)
* [catch_unwind for exceptions](anti_patterns/catch_panic.md)
* TODO Clone to satisfy the borrow checker
* [Deref polymorphism](anti_patterns/deref.md)
* TODO Matching all fields of a struct (back compat)
Expand Down
4 changes: 2 additions & 2 deletions anti_patterns/catch_panic.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# panic::catch_unwind for exceptions
# catch_unwind for exceptions

## Description

This antipattern arises when the method for catching (`panic::catch_unwind`) an
This anti-pattern arises when the method for catching (`panic::catch_unwind`) an
unexpected problem (implementation bug) is used to handle an expected problem,
such as a missing file.

Expand Down

0 comments on commit f53afc8

Please sign in to comment.