Skip to content

Commit

Permalink
Fix formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jonybur committed Oct 11, 2023
1 parent fc49372 commit 77144c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/nargo_fmt/src/visitor/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl FmtVisitor<'_> {
.iter()
.map(|arg| {
let arg_str = self.format_expr(arg.clone()).trim().to_string();
if arg_str.contains("(") {
if arg_str.contains('(') {
return arg_str.replace(" ,", ",").replace("( ", "(").replace(" )", ")");
}
arg_str
Expand Down

0 comments on commit 77144c7

Please sign in to comment.