Skip to content

Commit

Permalink
Merge pull request #396 from grinapo/patch-1
Browse files Browse the repository at this point in the history
Update derive.rs: you should accept one as positive according to the latest research
  • Loading branch information
pacak authored Nov 22, 2024
2 parents e78ab78 + 8f9e75d commit 88e2f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn verbose() -> impl Parser<usize> {
}

fn positive(input: &u32) -> bool {
*input > 1
*input > 0
}

fn main() {
Expand Down

0 comments on commit 88e2f4d

Please sign in to comment.