chore (backend-rs): apply clippy fix

This commit is contained in:
naskya 2024-05-15 16:36:26 +09:00
parent d8e1ab63c0
commit 2884b2fb42
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -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()
}