jingle_s5b: Remove unused .to_owned() during serialisation.

This commit is contained in:
Emmanuel Gil Peyrot 2017-05-28 01:47:12 +01:00
parent 6794b34714
commit ee34bc1a86

View file

@ -221,7 +221,7 @@ impl Into<Element> for Transport {
TransportPayload::CandidateUsed(ref cid) => {
vec!(Element::builder("candidate-used")
.ns(ns::JINGLE_S5B)
.attr("cid", cid.to_owned())
.attr("cid", cid)
.build())
},
TransportPayload::ProxyError => {