data_forms, ibr, message, presence, roster: Always use into_iter.
This commit is contained in:
parent
f6f6faeb77
commit
5df585ca40
5 changed files with 7 additions and 7 deletions
|
|
@ -72,7 +72,7 @@ impl From<Field> for Element {
|
|||
.attr("label", field.label)
|
||||
.append(if field.required { Some(Element::builder("required").ns(ns::DATA_FORMS).build()) } else { None })
|
||||
.append(field.options)
|
||||
.append(field.values.iter().map(|value| {
|
||||
.append(field.values.into_iter().map(|value| {
|
||||
Element::builder("value").ns(ns::DATA_FORMS).append(value).build()
|
||||
}).collect::<Vec<_>>())
|
||||
.append(field.media)
|
||||
|
|
|
|||
Loading…
Reference in a new issue