Skip to content

Commit 639c165

Browse files
committed
Fix build
1 parent c212308 commit 639c165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ufmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl<const N: usize> uWrite for CString<N> {
4040

4141
#[inline]
4242
fn write_str(&mut self, s: &str) -> Result<(), Self::Error> {
43-
self.push_bytes(s.as_bytes())
43+
self.extend_from_bytes(s.as_bytes())
4444
}
4545
}
4646

0 commit comments

Comments
 (0)