Minor refactoring

This commit is contained in:
Patrick Lühne 2020-05-11 03:23:25 +02:00
parent 6bf01db51a
commit 7a6fab59ef
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -470,10 +470,10 @@ where
0 => write!(formatter, "$true")?,
_ =>
{
let mut separator = "";
let parentheses_required = arguments.len() > 2;
let mut argument_iterator = arguments.iter().peekable();
let mut separator = "";
while let Some(argument) = argument_iterator.next()
{