pci-stack-switch #1

Merged
shibedrill merged 14 commits from pci-stack-switch into main 2025-11-05 21:32:13 -05:00
Showing only changes of commit 897444a170 - Show all commits

View File

@ -150,11 +150,7 @@ impl Information {
terminal: get_terminal(),
cpu: {
let cpus = sys.cpus();
if let Some(first_cpu) = cpus.get(0) {
Some(first_cpu.brand().into())
} else {
None
}
cpus.first().map(|first_cpu| first_cpu.brand().into())
},
gpu: {