@@ -1,3 +1,4 @@
1+use std::fmt::Write;
12use std::ops::Deref;
23
34use crate::job::Job;
@@ -1103,7 +1104,7 @@ fn get_character_info(
11031104 codepoint
11041105 };
11051106
1106− unicode.push_str(&format!("{codepoint:0>4x}"));
1107+ write!(unicode, "{codepoint:0>4x}").unwrap();
11071108 }
11081109
11091110 unicode.push(')');
@@ -1144,7 +1145,7 @@ fn get_character_info(
11441145 }
11451146
11461147 for byte in &bytes[current_byte..] {
1147− hex.push_str(&format!(" {byte:0>2x}"));
1148+ write!(hex, " {byte:0>2x}").unwrap();
11481149 }
11491150
11501151 current_byte = bytes.len();