diff options
| author | Edward Barnard | 2015-08-29 13:44:40 +0700 |
|---|---|---|
| committer | Edward Barnard | 2015-08-29 13:44:40 +0700 |
| commit | 890a2ad9aeee6ede065f33b1b346f2d368b00129 (patch) | |
| tree | f5550869938886d20b916bb29f14336b8aea7e80 /src | |
| parent | 5fbcbdd5f7f3be9d3340e22576b723b44611147b (diff) | |
| download | rust-plist-890a2ad9aeee6ede065f33b1b346f2d368b00129.tar.bz2 | |
Tidy
Diffstat (limited to 'src')
| -rw-r--r-- | src/builder.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/builder.rs b/src/builder.rs index d1eec78..fc33e1e 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -23,7 +23,7 @@ pub struct Builder<T> { token: Option<PlistEvent>, } -impl<R: Read + Seek> Builder<StreamingParser<R>> { +impl<R: Read+Seek> Builder<StreamingParser<R>> { pub fn new(reader: R) -> Builder<StreamingParser<R>> { Builder::from_event_stream(StreamingParser::new(reader)) } @@ -102,7 +102,7 @@ impl<T:Iterator<Item=ParserResult<PlistEvent>>> Builder<T> { } } - fn build_dict(&mut self, len: Option<u64>) -> Result<BTreeMap<String, Plist>, BuilderError> { + fn build_dict(&mut self, _len: Option<u64>) -> Result<BTreeMap<String, Plist>, BuilderError> { let mut values = BTreeMap::new(); loop { |
