Skip to content

Commit

Permalink
fix json example compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Jan 7, 2020
1 parent 530ead0 commit ca1053a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fn parse_str<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str
fn boolean<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, bool, E> {
// This is a parser that returns `true` if it sees the string "true", and
// an error otherwise
let parse_true = value(true, tag("true"))
let parse_true = value(true, tag("true"));

// This is a parser that returns `true` if it sees the string "true", and
// an error otherwise
Expand Down

0 comments on commit ca1053a

Please sign in to comment.