this changes meaning in Rust 2024 -- use '.iter()' instead of 'into_iter()' to avoid ambiguity

This commit is contained in:
Adam 2024-07-15 03:53:27 -04:00
parent 7adf2e50c3
commit 8a439026d3

View file

@ -45,7 +45,7 @@ pub fn ErrorTemplate(
<ul> <ul>
{move || { {move || {
errors errors
.into_iter() .iter()
.map(|e: &_| view! { <li>{e.to_string()}</li> }) .map(|e: &_| view! { <li>{e.to_string()}</li> })
.collect_view() .collect_view()
}} }}