diff options
| author | Edward Barnard | 2017-05-03 13:42:42 +0100 |
|---|---|---|
| committer | Edward Barnard | 2017-05-03 13:42:42 +0100 |
| commit | b1bfd407efbb9b2d58ec26f5323121dce93fcefd (patch) | |
| tree | 1049e64b75be3b316a49ce54b2de287f6d3a1208 /src/builder.rs | |
| parent | 9581214eb7d73de2a5b9e25a7c314ac91412e231 (diff) | |
| download | rust-plist-b1bfd407efbb9b2d58ec26f5323121dce93fcefd.tar.bz2 | |
Rustfmt
Diffstat (limited to 'src/builder.rs')
| -rw-r--r-- | src/builder.rs | 4 |
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)), |
