Skip to content

Commit

Permalink
Fix quickcheck Arbitrary impl never generating DEL
Browse files Browse the repository at this point in the history
  • Loading branch information
tormol authored and Thomas Bahn committed Aug 21, 2019
1 parent 4f3098c commit efb6e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ascii_char.rs
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ impl Arbitrary for AsciiChar {
}
40...99 => {
// Completely arbitrary characters
unsafe { AsciiChar::from_unchecked(g.gen_range(0, 0x7F) as u8) }
unsafe { AsciiChar::from_unchecked(g.gen_range(0, 0x80) as u8) }
}
_ => unreachable!(),
}
Expand Down

0 comments on commit efb6e59

Please sign in to comment.