Use write_char
to skip the formatting infrastructure
This commit is contained in:
parent
90bb861b2e
commit
ecee75d114
1 changed files with 1 additions and 1 deletions
|
@ -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("\""));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue