Activity for testcase_list
This commit is contained in:
parent
49889a15b8
commit
82ed5d328d
@ -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, "]")
|
||||
|
Loading…
Reference in New Issue
Block a user