Clippy autofixes
This commit is contained in:
parent
8f6aa2a6f4
commit
03e9dfebee
@ -150,11 +150,7 @@ impl Information {
|
|||||||
terminal: get_terminal(),
|
terminal: get_terminal(),
|
||||||
cpu: {
|
cpu: {
|
||||||
let cpus = sys.cpus();
|
let cpus = sys.cpus();
|
||||||
if let Some(first_cpu) = cpus.get(0) {
|
cpus.first().map(|first_cpu| first_cpu.brand().into())
|
||||||
Some(first_cpu.brand().into())
|
|
||||||
} else {
|
|
||||||
None
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
gpu: {
|
gpu: {
|
||||||
|
Loading…
Reference in New Issue
Block a user