From 00a32ca2ada9655ae8119d3aefab20ba1a807051 Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Thu, 4 Jul 2024 19:03:42 -0600 Subject: [PATCH] refactor: satisfy `missing_docs,clippy::empty_docs` --- wgpu-types/src/counters.rs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/wgpu-types/src/counters.rs b/wgpu-types/src/counters.rs index d869b872c..9dfa739f8 100644 --- a/wgpu-types/src/counters.rs +++ b/wgpu-types/src/counters.rs @@ -98,34 +98,22 @@ impl std::fmt::Debug for InternalCounter { } /// `wgpu-hal`'s internal counters. +#[allow(missing_docs)] #[derive(Clone, Default)] pub struct HalCounters { // API objects - /// pub buffers: InternalCounter, - /// pub textures: InternalCounter, - /// pub texture_views: InternalCounter, - /// pub bind_groups: InternalCounter, - /// pub bind_group_layouts: InternalCounter, - /// pub render_pipelines: InternalCounter, - /// pub compute_pipelines: InternalCounter, - /// pub pipeline_layouts: InternalCounter, - /// pub samplers: InternalCounter, - /// pub command_encoders: InternalCounter, - /// pub shader_modules: InternalCounter, - /// pub query_sets: InternalCounter, - /// pub fences: InternalCounter, // Resources