Skip to content

Commit efb6e59

Browse files
tormolThomas Bahn
authored and
Thomas Bahn
committed
Fix quickcheck Arbitrary impl never generating DEL
1 parent 4f3098c commit efb6e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ascii_char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ impl Arbitrary for AsciiChar {
732732
}
733733
40...99 => {
734734
// Completely arbitrary characters
735-
unsafe { AsciiChar::from_unchecked(g.gen_range(0, 0x7F) as u8) }
735+
unsafe { AsciiChar::from_unchecked(g.gen_range(0, 0x80) as u8) }
736736
}
737737
_ => unreachable!(),
738738
}

0 commit comments

Comments
 (0)