chore: Fix clippy lints #4570
rust.yml
on: pull_request
check-windows
5m 29s
check-linux
3m 22s
check-macos
1m 22s
build-android
1m 46s
tests
57s
check-format
21s
check-msrv-windows
8m 55s
check-msrv-linux
6m 35s
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
|