Explorar o código

fix(lint): allow unused macro rule arms

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen %!s(int64=2) %!d(string=hai) anos
pai
achega
4767d299c3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/options/theme.rs

+ 1 - 0
src/options/theme.rs

@@ -76,6 +76,7 @@ mod terminal_test {
         &flags::COLOUR_SCALE,
     ];
 
+    #[allow(unused_macro_rules)]
     macro_rules! test {
         ($name:ident:  $type:ident <- $inputs:expr;  $stricts:expr => $result:expr) => {
             #[test]