Explorar el Código

fix: make clippy happy

zu1k hace 2 años
padre
commit
c757b2bf28
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      crates/rule/src/action/modify.rs

+ 1 - 1
crates/rule/src/action/modify.rs

@@ -241,7 +241,7 @@ impl Modify {
         }
     }
 
-    fn modify_header<'a>(&self, header: &mut HeaderMap, md: &'a MapModify) {
+    fn modify_header(&self, header: &mut HeaderMap, md: &MapModify) {
         if md.remove {
             header.remove(&md.key);
         } else if let Some(ref text_md) = md.value {