mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-30 14:00:29 +00:00
Fix ufmt
module again
This commit is contained in:
parent
639c165e9c
commit
3b72afb011
@ -1,5 +1,5 @@
|
||||
use crate::{
|
||||
c_string::CString,
|
||||
c_string::{self, CString},
|
||||
string::{StringInner, StringStorage},
|
||||
vec::{VecInner, VecStorage},
|
||||
CapacityError,
|
||||
@ -36,7 +36,7 @@ impl<S: VecStorage<u8> + ?Sized> uWrite for VecInner<u8, S> {
|
||||
}
|
||||
|
||||
impl<const N: usize> uWrite for CString<N> {
|
||||
type Error = CapacityError;
|
||||
type Error = c_string::ExtendError;
|
||||
|
||||
#[inline]
|
||||
fn write_str(&mut self, s: &str) -> Result<(), Self::Error> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user