瀏覽代碼

fix: make clippy happy

zu1k 2 年之前
父節點
當前提交
c757b2bf28
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {