summaryrefslogtreecommitdiff
path: root/src/de/parse.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/parse.rs')
-rw-r--r--src/de/parse.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/de/parse.rs b/src/de/parse.rs
index a99e96d..09552fe 100644
--- a/src/de/parse.rs
+++ b/src/de/parse.rs
@@ -211,8 +211,8 @@ impl<'a> Parser<'a> {
acc: (0, 0),
index: 0,
peeked: None,
- depth: depth,
- strict: strict,
+ depth,
+ strict,
state: ParsingState::Init,
}
}
@@ -248,7 +248,7 @@ impl<'a> Parser<'a> {
_ => BTreeMap::default().into_iter(),
};
Ok(QsDeserializer {
- iter: iter,
+ iter,
value: None,
})
}