this changes meaning in Rust 2024 -- use '.iter()' instead of 'into_iter()' to avoid ambiguity
This commit is contained in:
parent
7adf2e50c3
commit
8a439026d3
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ pub fn ErrorTemplate(
|
|||
<ul>
|
||||
{move || {
|
||||
errors
|
||||
.into_iter()
|
||||
.iter()
|
||||
.map(|e: &_| view! { <li>{e.to_string()}</li> })
|
||||
.collect_view()
|
||||
}}
|
||||
|
|
Loading…
Add table
Reference in a new issue