]> Repositorios git - scryer-prolog.git/commitdiff
use proper range notation
authorMark Thom <[email protected]>
Thu, 25 Oct 2018 01:08:27 +0000 (21:08 -0400)
committerMark Thom <[email protected]>
Thu, 25 Oct 2018 01:08:27 +0000 (21:08 -0400)
src/prolog/heap_print.rs

index 174e9cc04f0930fad21aadc94d97cd05feee4765..7ce5e482e0534f574318390f72ff7d8688dc87f3 100644 (file)
@@ -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))
         };
     }