adjusted list syntax to be [<content> ...] to create a visual difference from tuples, which don't have the ... before the ].

This commit is contained in:
Dummi26
2023-03-12 12:43:21 +01:00
parent ff1f487a6f
commit 369b37371c
2 changed files with 29 additions and 17 deletions

View File

@@ -832,6 +832,10 @@ impl Display for VDataEnum {
for v in v {
write!(f, "{v}")?;
}
match self {
Self::List(..) => write!(f, "...")?,
_ => (),
}
write!(f, "]")?;
Ok(())
}