Skip to content

chore: Fix clippy lints #4571

chore: Fix clippy lints

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
Fit to window
Zoom out
Zoom in

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