chore (backend-rs): apply clippy fix
This commit is contained in:
parent
d8e1ab63c0
commit
2884b2fb42
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ pub fn cpu_info() -> Result<Cpu, SystemMutexError> {
|
|||
|
||||
Ok(Cpu {
|
||||
model: match system_info.cpus() {
|
||||
cpus if cpus.is_empty() => {
|
||||
[] => {
|
||||
tracing::debug!("failed to get CPU info");
|
||||
"unknown".to_string()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue