Skip to content

Commit

Permalink
upgrading_to_nom_4: Add missing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
passy authored Feb 18, 2018
1 parent 7d2084d commit 006195d
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 006195d

Please sign in to comment.