Skip to content

Commit ab2374d

Browse files
ErichDonGublerjimblandy
authored andcommitted
chore: satisfy clippy::empty_docs
1 parent 65d518c commit ab2374d

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

d3d12/src/resource.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ pub struct DiscardRegion<'a> {
1414
pub type Resource = ComPtr<d3d12::ID3D12Resource>;
1515

1616
impl Resource {
17-
///
1817
pub fn map(
1918
&self,
2019
subresource: Subresource,

naga/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,13 +1273,9 @@ pub enum ImageQuery {
12731273
#[cfg_attr(feature = "deserialize", derive(Deserialize))]
12741274
#[cfg_attr(feature = "arbitrary", derive(Arbitrary))]
12751275
pub enum SwizzleComponent {
1276-
///
12771276
X = 0,
1278-
///
12791277
Y = 1,
1280-
///
12811278
Z = 2,
1282-
///
12831279
W = 3,
12841280
}
12851281

wgpu-types/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5493,9 +5493,9 @@ pub enum TextureDimension {
54935493
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
54945494
#[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))]
54955495
pub struct Origin2d {
5496-
///
5496+
#[allow(missing_docs)]
54975497
pub x: u32,
5498-
///
5498+
#[allow(missing_docs)]
54995499
pub y: u32,
55005500
}
55015501

0 commit comments

Comments
 (0)