Skip to content

Commit f96d339

Browse files
authored
Use ..= for an inclusive range instead of deprecated ...
rust-lang/rust#51043
1 parent 54bdfa2 commit f96d339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/display.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ mod tests {
6868
// 9 => print!("{}", *b as char), // TAB
6969
b'\n' => print!("\\n"),
7070
b'\r' => print!("\\r"),
71-
32...126 => print!("{}", *b as char), // visible ASCII
71+
32..=126 => print!("{}", *b as char), // visible ASCII
7272
_ => print!(r"\x{:0>2x}", b),
7373

7474
}

0 commit comments

Comments
 (0)