forked from nonsensical-dev/zenyx-engine
chore: run clippy and cargo fmt on pending changes
This commit is contained in:
parent
6efaf7a291
commit
bb9bca8ca5
8 changed files with 34 additions and 25 deletions
|
@ -195,10 +195,8 @@ impl CPU {
|
|||
);
|
||||
sys.refresh_cpu_all();
|
||||
|
||||
|
||||
let cpu_opt = sys.cpus().first();
|
||||
|
||||
|
||||
let brand = cpu_opt
|
||||
.map(|cpu| cpu.brand().into())
|
||||
.unwrap_or(CPUBrand::Other("unknown".into()));
|
||||
|
@ -491,7 +489,7 @@ impl EngineInfo {
|
|||
rustc_version: build_info::RUSTC_VERSION.to_string(),
|
||||
wgpu_version: build_info::WGPU_VERSION.to_string(),
|
||||
winit_version: build_info::WGPU_VERSION.to_string(),
|
||||
commit_hash: build_info::GIT_COMMIT_HASH.to_string()
|
||||
commit_hash: build_info::GIT_COMMIT_HASH.to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue