From ee34bc1a8667b184efb3f57b42407205da436219 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 28 May 2017 01:47:12 +0100 Subject: [PATCH] jingle_s5b: Remove unused .to_owned() during serialisation. --- src/jingle_s5b.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jingle_s5b.rs b/src/jingle_s5b.rs index 316a3210..e244a8c0 100644 --- a/src/jingle_s5b.rs +++ b/src/jingle_s5b.rs @@ -221,7 +221,7 @@ impl Into 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 => {