Skip to content

Commit

Permalink
Merge pull request rust-bakery#694 from passy/patch-1
Browse files Browse the repository at this point in the history
upgrading_to_nom_4: Add missing parenthesis
  • Loading branch information
Geal authored Feb 24, 2018
2 parents 126d769 + 006195d commit 5c8a571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/upgrading_to_nom_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ case:
```rust,ignore
match result {
Ok((remaining, value)) => { ... },
Err(Err::Incomplete(needed) => { ... },
Err(Err::Incomplete(needed)) => { ... },
Err(Err::Error(e)) | Err(Err::Failure(e)) => { ... }
}
```
Expand Down

0 comments on commit 5c8a571

Please sign in to comment.