diff --git a/d3d12/src/resource.rs b/d3d12/src/resource.rs index bdc669dd3..def01f414 100644 --- a/d3d12/src/resource.rs +++ b/d3d12/src/resource.rs @@ -14,7 +14,6 @@ pub struct DiscardRegion<'a> { pub type Resource = ComPtr; impl Resource { - /// pub fn map( &self, subresource: Subresource, diff --git a/naga/src/lib.rs b/naga/src/lib.rs index 24e1b02c7..746e407fa 100644 --- a/naga/src/lib.rs +++ b/naga/src/lib.rs @@ -1273,13 +1273,9 @@ pub enum ImageQuery { #[cfg_attr(feature = "deserialize", derive(Deserialize))] #[cfg_attr(feature = "arbitrary", derive(Arbitrary))] pub enum SwizzleComponent { - /// X = 0, - /// Y = 1, - /// Z = 2, - /// W = 3, } diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 7049cd3a8..92d5b68d4 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -5493,9 +5493,9 @@ pub enum TextureDimension { #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))] pub struct Origin2d { - /// + #[allow(missing_docs)] pub x: u32, - /// + #[allow(missing_docs)] pub y: u32, }