Activity for testcase_list

This commit is contained in:
Dan Buch 2021-09-10 11:01:45 -04:00
parent 49889a15b8
commit 82ed5d328d
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

View File

@ -8,9 +8,11 @@ impl fmt::Display for List {
write!(f, "[")?;
for (count, v ) in vec.iter().enumerate() {
if count != 0 { write!(f, ", ")?; }
write!(f, "{}", v)?;
for (count, v) in vec.iter().enumerate() {
if count != 0 {
write!(f, ", ")?;
}
write!(f, "{}: {}", count, v)?;
}
write!(f, "]")