aboutsummaryrefslogtreecommitdiffstats
path: root/src/events/xml_writer.rs
diff options
context:
space:
mode:
authorEdward Barnard2018-09-22 10:15:55 +0100
committerEdward Barnard2018-09-22 10:15:55 +0100
commit1b30e6eeb41963da1b2a4cc0867c5cf167fcff58 (patch)
tree2576935219be819b5291643fb34557d1a814944d /src/events/xml_writer.rs
parent0c35329bf6343b56a2925eb97ec68f85768ae1db (diff)
downloadrust-plist-1b30e6eeb41963da1b2a4cc0867c5cf167fcff58.tar.bz2
Run latest rustfmt.
Diffstat (limited to 'src/events/xml_writer.rs')
-rw-r--r--src/events/xml_writer.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/events/xml_writer.rs b/src/events/xml_writer.rs
index dde1e6e..a2df5bf 100644
--- a/src/events/xml_writer.rs
+++ b/src/events/xml_writer.rs
@@ -120,7 +120,8 @@ impl<W: Write> Writer for XmlWriter<W> {
};
return Ok(());
}
- Some(Element::Dictionary(DictionaryState::ExpectValue)) => self.stack
+ Some(Element::Dictionary(DictionaryState::ExpectValue)) => self
+ .stack
.push(Element::Dictionary(DictionaryState::ExpectKey)),
Some(other) => self.stack.push(other),
None => {