summaryrefslogtreecommitdiff
path: root/src/de/mod.rs
diff options
context:
space:
mode:
authorSam Scott <sam.scott89@gmail.com>2019-01-21 10:54:39 -0500
committerSam Scott <sam.scott89@gmail.com>2019-01-21 10:54:39 -0500
commit527b32876823a8c4154fcbeb1146fa7da0e4ade2 (patch)
treee50d3e8e7e0fd98d5e17bc19183b24d9b71db12b /src/de/mod.rs
parent5696a51e46649997ca346089e916b489a348386d (diff)
Minor fixes:
- Suppress deprecated warning from error-chain - Fix clippy issues - Update dependencies - Update example to csv 1.0
Diffstat (limited to 'src/de/mod.rs')
-rw-r--r--src/de/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/mod.rs b/src/de/mod.rs
index 5d8115a..c44ae19 100644
--- a/src/de/mod.rs
+++ b/src/de/mod.rs
@@ -101,8 +101,8 @@ impl Config {
/// Create a new `Config` with the specified `max_depth` and `strict` mode.
pub fn new(max_depth: usize, strict: bool) -> Self {
Self {
- max_depth: max_depth,
- strict: strict,
+ max_depth,
+ strict,
}
}