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 @@ -1054,6 +1054,7 @@ mod tests {
10541054 available_epbs: vec![ ] ,
10551055 epb: None ,
10561056 stat: cpu:: CpuStat :: default ( ) ,
1057+ previous_stat: None ,
10571058 info: None ,
10581059 } ) ;
10591060
@@ -1141,6 +1142,7 @@ mod tests {
11411142 available_epbs : vec ! [ ] ,
11421143 epb : None ,
11431144 stat : cpu:: CpuStat :: default ( ) ,
1145+ previous_stat : None ,
11441146 info : None ,
11451147 } ) ;
11461148
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