mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Use write_char
to skip the formatting infrastructure
This commit is contained in:
parent
90bb861b2e
commit
ecee75d114
@ -1618,7 +1618,7 @@ define_print_and_forward_display! {
|
||||
p!(write("b\""));
|
||||
for &c in byte_str {
|
||||
for e in std::ascii::escape_default(c) {
|
||||
p!(write("{}", e as char));
|
||||
cx.write_char(e as char)?;
|
||||
}
|
||||
}
|
||||
p!(write("\""));
|
||||
|
Loading…
Reference in New Issue
Block a user