Browse Source

fix: make clippy happy

zu1k 2 years ago
parent
commit
c757b2bf28
1 changed files with 1 additions and 1 deletions
  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 {