fix return type in example

This commit is contained in:
Jos van den Oever 2019-08-02 23:26:35 +02:00 committed by Geoffroy Couprie
parent 954114af1b
commit eef808017b

View File

@ -175,7 +175,7 @@ the closure that it returns.
You can then use it that way:
```rust
fn parser(i: &str) -> IResult<&str, &str> {
fn parser(i: &str) -> IResult<&str, (&str, &str)> {
pair(alpha0, digit0)(i)
}