From f073a8638757b56751aefa238619f9724b9b1c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Lecrenier?= Date: Tue, 17 Jan 2023 11:28:19 +0100 Subject: [PATCH] Update deserr to latest version --- milli/Cargo.toml | 2 +- milli/src/update/settings.rs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/milli/Cargo.toml b/milli/Cargo.toml index 5bbd7a8ff..981468f85 100644 --- a/milli/Cargo.toml +++ b/milli/Cargo.toml @@ -12,7 +12,7 @@ byteorder = "1.4.3" charabia = { version = "0.7.0", default-features = false } concat-arrays = "0.1.2" crossbeam-channel = "0.5.6" -deserr = "0.1.4" +deserr = "0.1.5" either = "1.8.0" flatten-serde-json = { path = "../flatten-serde-json" } fst = "0.4.7" diff --git a/milli/src/update/settings.rs b/milli/src/update/settings.rs index f10bfe4e9..4242654cb 100644 --- a/milli/src/update/settings.rs +++ b/milli/src/update/settings.rs @@ -37,9 +37,6 @@ where _ => T::deserialize_from_value(value, location).map(Setting::Set), } } - fn default() -> Option { - Some(Self::NotSet) - } } impl Default for Setting {