diff --git a/src/texture.rs b/src/texture.rs index 01005c9..865f1c2 100644 --- a/src/texture.rs +++ b/src/texture.rs @@ -44,16 +44,14 @@ impl Default for TextureAttributes { } } -#[derive(Debug)] +#[derive(Debug, Default)] pub struct TextureBuilder { pub attributes: TextureAttributes, } impl TextureBuilder { pub fn new() -> Self { - Self { - attributes: Default::default(), - } + Self::default() } #[inline]