From b05964a32821815890699cf6b4df5394a4457926 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 21 Mar 2021 22:58:52 +0000 Subject: [PATCH] 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 --- src/shapelib-toml.rs | 2 -- 1 file changed, 2 deletions(-) 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)] -- 2.30.2