Skip to content

Commit ff0433b

Browse files
committed
hexdump uses . not ? as a placeholder
1 parent fbee3ca commit ff0433b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/hexdump/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn real_main() -> Result<(), neotron_sdk::Error> {
5050
// print ascii (with padding)
5151
for b in valid {
5252
let ch = *b as char;
53-
let _ = write!(stdout, "{}", if !ch.is_control() { ch } else { '?' });
53+
let _ = write!(stdout, "{}", if !ch.is_control() { ch } else { '.' });
5454
}
5555
for _padding in 0..(buffer.len() - valid.len()) {
5656
let _ = write!(stdout, ".");

0 commit comments

Comments
 (0)