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