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 11//! Defmt implementations for heapless types
22
3- use crate :: { storage:: Storage , vec:: VecInner } ;
3+ use crate :: { storage:: Storage , string :: StringInner , vec:: VecInner } ;
44use defmt:: Formatter ;
55
66impl < T , S : Storage > defmt:: Format for VecInner < T , S >
1212 }
1313}
1414
15- impl < const N : usize > defmt:: Format for crate :: String < N >
15+ impl < S : Storage > defmt:: Format for StringInner < S >
1616where
1717 u8 : defmt:: Format ,
1818{
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 } ;
22use ufmt_write:: uWrite;
33
4- impl < const N : usize > uWrite for String < N > {
4+ impl < S : Storage > uWrite for StringInner < S > {
55 type Error = ( ) ;
66 fn write_str ( & mut self , s : & str ) -> Result < ( ) , Self :: Error > {
77 self . push_str ( s)
You can’t perform that action at this time.
0 commit comments