diff --git a/src/filter.rs b/src/filter.rs index dbfba06..8edcb31 100644 --- a/src/filter.rs +++ b/src/filter.rs @@ -20,7 +20,7 @@ pub fn show_log_entry(log_entry: &Map, filter_expr: &str, implici lua.load(&script).exec()?; if implicit_return { - lua.load(&format!("return {};", filter_expr)).eval::() + lua.load(format!("return {};", filter_expr)).eval::() } else { lua.load(filter_expr).eval::() }