aboutsummaryrefslogtreecommitdiffstats
path: root/src/builder.rs
diff options
context:
space:
mode:
authorEdward Barnard2017-05-03 13:42:42 +0100
committerEdward Barnard2017-05-03 13:42:42 +0100
commitb1bfd407efbb9b2d58ec26f5323121dce93fcefd (patch)
tree1049e64b75be3b316a49ce54b2de287f6d3a1208 /src/builder.rs
parent9581214eb7d73de2a5b9e25a7c314ac91412e231 (diff)
downloadrust-plist-b1bfd407efbb9b2d58ec26f5323121dce93fcefd.tar.bz2
Rustfmt
Diffstat (limited to 'src/builder.rs')
-rw-r--r--src/builder.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/builder.rs b/src/builder.rs
index 08467af..2398a8b 100644
--- a/src/builder.rs
+++ b/src/builder.rs
@@ -40,9 +40,7 @@ impl<T: Iterator<Item = Result<PlistEvent>>> Builder<T> {
fn build_value(&mut self) -> Result<Plist> {
match self.token.take() {
Some(PlistEvent::StartArray(len)) => Ok(Plist::Array(self.build_array(len)?)),
- Some(PlistEvent::StartDictionary(len)) => {
- Ok(Plist::Dictionary(self.build_dict(len)?))
- }
+ Some(PlistEvent::StartDictionary(len)) => Ok(Plist::Dictionary(self.build_dict(len)?)),
Some(PlistEvent::BooleanValue(b)) => Ok(Plist::Boolean(b)),
Some(PlistEvent::DataValue(d)) => Ok(Plist::Data(d)),