Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 63af1e9

Browse files
bors[bot]loiclec
andauthored
Merge #764
764: Update deserr to latest version r=irevoire a=loiclec Update deserr to 0.1.5, which changes the `DeserializeFromValue` trait, getting rid of the `default()` method. Co-authored-by: Loïc Lecrenier <loic.lecrenier@me.com>
2 parents e6bea99 + f073a86 commit 63af1e9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

milli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ byteorder = "1.4.3"
1212
charabia = { version = "0.7.0", default-features = false }
1313
concat-arrays = "0.1.2"
1414
crossbeam-channel = "0.5.6"
15-
deserr = "0.1.4"
15+
deserr = "0.1.5"
1616
either = "1.8.0"
1717
flatten-serde-json = { path = "../flatten-serde-json" }
1818
fst = "0.4.7"

milli/src/update/settings.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ where
3737
_ => T::deserialize_from_value(value, location).map(Setting::Set),
3838
}
3939
}
40-
fn default() -> Option<Self> {
41-
Some(Self::NotSet)
42-
}
4340
}
4441

4542
impl<T> Default for Setting<T> {

0 commit comments

Comments
 (0)