chore: satisfy clippy::empty_docs

This commit is contained in:
Erich Gubler 2024-05-02 16:08:54 -04:00
parent b4193d50db
commit 78a208b005
3 changed files with 2 additions and 7 deletions

View File

@ -14,7 +14,6 @@ pub struct DiscardRegion<'a> {
pub type Resource = ComPtr<d3d12::ID3D12Resource>; pub type Resource = ComPtr<d3d12::ID3D12Resource>;
impl Resource { impl Resource {
///
pub fn map( pub fn map(
&self, &self,
subresource: Subresource, subresource: Subresource,

View File

@ -1273,13 +1273,9 @@ pub enum ImageQuery {
#[cfg_attr(feature = "deserialize", derive(Deserialize))] #[cfg_attr(feature = "deserialize", derive(Deserialize))]
#[cfg_attr(feature = "arbitrary", derive(Arbitrary))] #[cfg_attr(feature = "arbitrary", derive(Arbitrary))]
pub enum SwizzleComponent { pub enum SwizzleComponent {
///
X = 0, X = 0,
///
Y = 1, Y = 1,
///
Z = 2, Z = 2,
///
W = 3, W = 3,
} }

View File

@ -5493,9 +5493,9 @@ pub enum TextureDimension {
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))] #[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))]
pub struct Origin2d { pub struct Origin2d {
/// #[allow(missing_docs)]
pub x: u32, pub x: u32,
/// #[allow(missing_docs)]
pub y: u32, pub y: u32,
} }