Cargo.toml: Update minidom to 0.4.3 to use its new IntoAttributeValue implementation on numbers.
This commit is contained in:
parent
8e1d5e7983
commit
6794b34714
6 changed files with 9 additions and 12 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue