Remove unneeded lifetime annotations
This commit is contained in:
parent
82b308f8cf
commit
a6ab0b4ef6
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ fn replace_parameter(input: &str, data: &serde_json::Value) -> Result<String> {
|
||||||
Ok(result.join(""))
|
Ok(result.join(""))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn execute_hook<'a>(name: &'a str, hook: &'a Hook, data: &'a serde_json::Value) -> Result<()> {
|
fn execute_hook(name: &str, hook: &Hook, data: &serde_json::Value) -> Result<()> {
|
||||||
debug!("Running hook `{}`", name);
|
debug!("Running hook `{}`", name);
|
||||||
|
|
||||||
for (filter_name, filter) in hook.filters.iter() {
|
for (filter_name, filter) in hook.filters.iter() {
|
||||||
|
|
Loading…
Reference in a new issue