From: Ian Jackson Date: Sun, 21 Mar 2021 22:58:52 +0000 (+0000) Subject: shapelib: Remove the default for `centre` X-Git-Tag: otter-0.5.0~539 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b05964a32821815890699cf6b4df5394a4457926;p=otter.git shapelib: Remove the default for `centre` This is a useless default. We're about to introduce a non-useless one, but removing this useless one first proves we're not using it. Signed-off-by: Ian Jackson --- diff --git a/src/shapelib-toml.rs b/src/shapelib-toml.rs index 3a2297e2..8ae0f8d3 100644 --- a/src/shapelib-toml.rs +++ b/src/shapelib-toml.rs @@ -110,8 +110,6 @@ pub struct GroupDetails { /// scale by different amounts in x and y. pub orig_size: Vec, - #[serde(default)] - /// Default if not supplied is `[0,0]`. pub centre: [f64; 2], #[serde(default)]