1
Fork 0

Use write_char to skip the formatting infrastructure

This commit is contained in:
Oliver Scherer 2019-04-24 14:10:31 +02:00
parent 90bb861b2e
commit ecee75d114

View file

@ -1618,7 +1618,7 @@ define_print_and_forward_display! {
p!(write("b\"")); p!(write("b\""));
for &c in byte_str { for &c in byte_str {
for e in std::ascii::escape_default(c) { for e in std::ascii::escape_default(c) {
p!(write("{}", e as char)); cx.write_char(e as char)?;
} }
} }
p!(write("\"")); p!(write("\""));