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:
Patrick Lühne 2020-03-30 05:39:20 +02:00
parent 6183ae22b5
commit ae3925c72b
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
1 changed files with 1 additions and 1 deletions

View File

@ -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 = "";