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
|
|
@ -65,7 +65,7 @@ impl From<Item> for Element {
|
|||
.attr("jid", String::from(item.jid))
|
||||
.attr("name", item.name)
|
||||
.attr("subscription", item.subscription)
|
||||
.append(item.groups.iter().map(|group| Element::builder("group").ns(ns::ROSTER).append(group)).collect::<Vec<_>>())
|
||||
.append(item.groups.into_iter().map(|group| Element::builder("group").ns(ns::ROSTER).append(group)).collect::<Vec<_>>())
|
||||
.build()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue