diff --git a/bin/domain/imag-contact/src/main.rs b/bin/domain/imag-contact/src/main.rs index e1005d7b..c8c033b0 100644 --- a/bin/domain/imag-contact/src/main.rs +++ b/bin/domain/imag-contact/src/main.rs @@ -227,8 +227,9 @@ fn show(rt: &Runtime) { None } }) - .for_each(|elem| { - let data = build_data_object_for_handlebars(0, &elem); + .enumerate() + .for_each(|(i, elem)| { + let data = build_data_object_for_handlebars(i, &elem); let s = show_format .render("format", &data)