chore: Fix clippy lints #4571
Triggered via pull request
December 12, 2024 16:34
Status
Success
Total duration
11m 31s
Artifacts
–
rust.yml
on: pull_request
check-windows
4m 43s
check-linux
3m 21s
check-macos
57s
build-android
1m 43s
tests
51s
check-format
21s
check-msrv-windows
11m 19s
check-msrv-linux
6m 30s
Annotations
3 warnings
check-windows:
alvr/client_core/src/graphics/mod.rs#L14
warning: unused import: `mem`
--> alvr\client_core\src\graphics\mod.rs:14:24
|
14 | use std::{ffi::c_void, mem, num::NonZeroU32, ptr};
| ^^^
|
= note: `#[warn(unused_imports)]` on by default
|
check-windows:
alvr/client_core/src/graphics/mod.rs#L17
warning: unused imports: `InstanceDescriptor` and `InstanceFlags`
--> alvr\client_core\src\graphics\mod.rs:17:42
|
17 | Adapter, Device, Extent3d, Instance, InstanceDescriptor, InstanceFlags, Queue, Texture,
| ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^
|
check-windows:
alvr/client_core/src/graphics/mod.rs#L192
warning: fields `adapter` and `dummy_surface` are never read
--> alvr\client_core\src\graphics\mod.rs:192:5
|
190 | pub struct GraphicsContext {
| --------------- fields in this struct
191 | _instance: Instance,
192 | adapter: Adapter,
| ^^^^^^^
...
199 | dummy_surface: egl::Surface,
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|