chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0c0510
)
shapelib: Remove the default for `centre`
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Mar 2021 22:58:52 +0000
(22:58 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Mar 2021 22:58:52 +0000
(22:58 +0000)
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 <ijackson@chiark.greenend.org.uk>
src/shapelib-toml.rs
patch
|
blob
|
history
diff --git
a/src/shapelib-toml.rs
b/src/shapelib-toml.rs
index 3a2297e255747a8f6d41137fa6dbc43bffe6ba57..8ae0f8d3f8b95b81a989da53d3f1d6625d64cb00 100644
(file)
--- 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<f64>,
- #[serde(default)]
- /// Default if not supplied is `[0,0]`.
pub centre: [f64; 2],
#[serde(default)]