File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
//! Defmt implementations for heapless types
2
2
3
- use crate :: { storage:: Storage , vec:: VecInner } ;
3
+ use crate :: { storage:: Storage , string :: StringInner , vec:: VecInner } ;
4
4
use defmt:: Formatter ;
5
5
6
6
impl < T , S : Storage > defmt:: Format for VecInner < T , S >
12
12
}
13
13
}
14
14
15
- impl < const N : usize > defmt:: Format for crate :: String < N >
15
+ impl < S : Storage > defmt:: Format for StringInner < S >
16
16
where
17
17
u8 : defmt:: Format ,
18
18
{
Original file line number Diff line number Diff line change 1
- use crate :: { storage:: Storage , string:: String , vec:: VecInner } ;
1
+ use crate :: { storage:: Storage , string:: StringInner , vec:: VecInner } ;
2
2
use ufmt_write:: uWrite;
3
3
4
- impl < const N : usize > uWrite for String < N > {
4
+ impl < S : Storage > uWrite for StringInner < S > {
5
5
type Error = ( ) ;
6
6
fn write_str ( & mut self , s : & str ) -> Result < ( ) , Self :: Error > {
7
7
self . push_str ( s)
You can’t perform that action at this time.
0 commit comments