Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Dec 14, 2023
1 parent 5636cce commit cd20c3f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,13 +352,7 @@ impl Func {
where
T: Into<SimpleExpr>,
{
FunctionCall::new(Function::Count).arg_with(
expr,
FuncArgMod {
distinct: true,
..Default::default()
},
)
FunctionCall::new(Function::Count).arg_with(expr, FuncArgMod { distinct: true })
}

/// Call `CHAR_LENGTH` function.
Expand Down

0 comments on commit cd20c3f

Please sign in to comment.