Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bomgar committed Sep 26, 2024
1 parent f14d20d commit 93d6748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn show_log_entry(log_entry: &Map<String, Value>, filter_expr: &str, implici
lua.load(&script).exec()?;

if implicit_return {
lua.load(&format!("return {};", filter_expr)).eval::<bool>()
lua.load(format!("return {};", filter_expr)).eval::<bool>()
} else {
lua.load(filter_expr).eval::<bool>()
}
Expand Down

0 comments on commit 93d6748

Please sign in to comment.