Browse Source

fix: clippy issues

PThorpe92 1 year ago
parent
commit
ed8db671ec
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/theme/ui_styles.rs

+ 1 - 0
src/theme/ui_styles.rs

@@ -38,6 +38,7 @@ macro_rules! field_accessors {
     ($struct_name:ident, $($field_name:ident: Option<$type:ty>),*) => {
         impl $struct_name {
             $(
+                #[allow(clippy::wrong_self_convention, clippy::new_ret_no_self)]
                 pub fn $field_name(&self) -> $type {
                     self.$field_name.unwrap_or_default()
                 }