Fix function formatting
By mistake, a function’s name was printed two consecutive times if the function had more than one argument.
This commit is contained in:
parent
6183ae22b5
commit
ae3925c72b
@ -185,7 +185,7 @@ impl<'term> std::fmt::Debug for TermDisplay<'term>
|
|||||||
|
|
||||||
if !function.arguments.is_empty()
|
if !function.arguments.is_empty()
|
||||||
{
|
{
|
||||||
write!(format, "{}(", function.declaration.name)?;
|
write!(format, "(")?;
|
||||||
|
|
||||||
let mut separator = "";
|
let mut separator = "";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user