data_forms, ibr, message, presence, roster: Always use into_iter.

This commit is contained in:
Emmanuel Gil Peyrot 2017-07-20 23:09:22 +01:00
commit 5df585ca40
5 changed files with 7 additions and 7 deletions

View file

@ -321,7 +321,7 @@ impl From<Presence> for Element {
.attr("id", presence.id)
.attr("type", presence.type_)
.append(presence.show)
.append(presence.statuses.iter().map(|(lang, status)| {
.append(presence.statuses.into_iter().map(|(lang, status)| {
Element::builder("status")
.attr("xml:lang", match lang.as_ref() {
"" => None,