File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1056,6 +1056,7 @@ mod tests {
10561056 available_epbs: vec![ ] ,
10571057 epb: None ,
10581058 stat: cpu:: CpuStat :: default ( ) ,
1059+ previous_stat: None ,
10591060 info: None ,
10601061 } ) ;
10611062
@@ -1143,6 +1144,7 @@ mod tests {
11431144 available_epbs : vec ! [ ] ,
11441145 epb : None ,
11451146 stat : cpu:: CpuStat :: default ( ) ,
1147+ previous_stat : None ,
11461148 info : None ,
11471149 } ) ;
11481150
Original file line number Diff line number Diff line change @@ -197,7 +197,11 @@ impl PowerSupply {
197197 self . is_from_peripheral = ' is_from_peripheral: {
198198 let name_lower = self . name . to_lowercase ( ) ;
199199
200- log:: trace!( "power supply '{name}' type: {type_}" , name = self . name, type_ = self . type_) ;
200+ log:: trace!(
201+ "power supply '{name}' type: {type_}" ,
202+ name = self . name,
203+ type_ = self . type_
204+ ) ;
201205
202206 // Common peripheral battery names.
203207 if name_lower. contains ( "mouse" )
You can’t perform that action at this time.
0 commit comments