Cargo.toml: Update minidom to 0.4.3 to use its new IntoAttributeValue implementation on numbers.

This commit is contained in:
Emmanuel Gil Peyrot 2017-05-27 23:18:15 +01:00
commit 6794b34714
6 changed files with 9 additions and 12 deletions

View file

@ -70,8 +70,8 @@ impl Into<Element> for Candidate {
.attr("cid", self.cid)
.attr("host", self.host)
.attr("jid", self.jid)
.attr("port", match self.port { Some(port) => Some(format!("{}", port)), None => None })
.attr("priority", format!("{}", self.priority))
.attr("port", self.port)
.attr("priority", self.priority)
.attr("type", self.type_)
.build()
}