Browse Source

Fix function formatting

By mistake, a function’s name was printed two consecutive times if the
function had more than one argument.
master
Patrick Lühne 2 years ago
parent
commit
ae3925c72b
Signed by: patrick GPG Key ID: 05F3611E97A70ABF
  1. 2
      src/format.rs

2
src/format.rs

@ -185,7 +185,7 @@ impl<'term> std::fmt::Debug for TermDisplay<'term>
if !function.arguments.is_empty()
{
write!(format, "{}(", function.declaration.name)?;
write!(format, "(")?;
let mut separator = "";

Loading…
Cancel
Save