From 69a7579adbe14170d02b014f9ee0cdceb869c6ba Mon Sep 17 00:00:00 2001 From: Mark Thom Date: Wed, 24 Oct 2018 21:08:27 -0400 Subject: [PATCH] use proper range notation --- src/prolog/heap_print.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prolog/heap_print.rs b/src/prolog/heap_print.rs index 174e9cc0..7ce5e482 100644 --- a/src/prolog/heap_print.rs +++ b/src/prolog/heap_print.rs @@ -401,7 +401,7 @@ impl<'a, Outputter: HCValueOutputter> HCPrinter<'a, Outputter> '\u{0c}' => self.outputter.append("\\f"), // UTF-8 form feed '\u{08}' => self.outputter.append("\\b"), // UTF-8 backspace '\u{07}' => self.outputter.append("\\a"), // UTF-8 alert - '\x20' ..= '\x7e' => self.outputter.push_char(c), + '\x20' ... '\x7e' => self.outputter.push_char(c), _ => self.outputter.append(&format!("\\x{:x}", c as u32)) }; } -- 2.54.0