Skip to content

Commit

Permalink
Use ..= for an inclusive range instead of deprecated ...
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipseo authored Sep 14, 2019
1 parent 54bdfa2 commit f96d339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ mod tests {
// 9 => print!("{}", *b as char), // TAB
b'\n' => print!("\\n"),
b'\r' => print!("\\r"),
32...126 => print!("{}", *b as char), // visible ASCII
32..=126 => print!("{}", *b as char), // visible ASCII
_ => print!(r"\x{:0>2x}", b),

}
Expand Down

0 comments on commit f96d339

Please sign in to comment.