Skip to content

Commit

Permalink
Merge pull request #103 from behnam/dev
Browse files Browse the repository at this point in the history
[C-VALIDATE] Replace fail! with panic!
  • Loading branch information
brson authored Jul 13, 2017
2 parents 327ca8e + 98629c4 commit 890ef80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1878,7 +1878,7 @@ downsides:
1. Runtime overhead (unless checking can be done as part of processing the
input).
2. Delayed detection of bugs.
3. Introduces failure cases, either via `fail!` or `Result`/`Option` types,
3. Introduces failure cases, either via `panic!` or `Result`/`Option` types,
which must then be dealt with by client code.

#### Dynamic enforcement with `debug_assert!`:
Expand Down

0 comments on commit 890ef80

Please sign in to comment.