jingle_s5b: Remove unused .to_owned() during serialisation.

Emmanuel Gil Peyrot created

Change summary

src/jingle_s5b.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

src/jingle_s5b.rs 🔗

@@ -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 => {