Skip to content

Commit 3b72afb

Browse files
committed
Fix ufmt module again
1 parent 639c165 commit 3b72afb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ufmt.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::{
2-
c_string::CString,
2+
c_string::{self, CString},
33
string::{StringInner, StringStorage},
44
vec::{VecInner, VecStorage},
55
CapacityError,
@@ -36,7 +36,7 @@ impl<S: VecStorage<u8> + ?Sized> uWrite for VecInner<u8, S> {
3636
}
3737

3838
impl<const N: usize> uWrite for CString<N> {
39-
type Error = CapacityError;
39+
type Error = c_string::ExtendError;
4040

4141
#[inline]
4242
fn write_str(&mut self, s: &str) -> Result<(), Self::Error> {

0 commit comments

Comments
 (0)