parsers: update for minidom API changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
40b92d64e2
commit
6308250c17
26 changed files with 140 additions and 190 deletions
|
|
@ -161,8 +161,7 @@ impl TryFrom<Element> for Tune {
|
|||
|
||||
impl From<Tune> for Element {
|
||||
fn from(tune: Tune) -> Element {
|
||||
Element::builder("tune")
|
||||
.ns(ns::TUNE)
|
||||
Element::builder("tune", ns::TUNE)
|
||||
.append_all(tune.artist)
|
||||
.append_all(tune.length)
|
||||
.append_all(tune.rating)
|
||||
|
|
|
|||
Loading…
Reference in a new issue