From: Ian Jackson Date: Wed, 4 May 2022 22:34:23 +0000 (+0100) Subject: shapelib: Make fields of GroupData private X-Git-Tag: otter-1.1.0~273 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8f80c4429467f62dd4cb01a337dc1a5d1e96ea99;p=otter.git shapelib: Make fields of GroupData private This was odd. It compiles with them private, and it's not serde. I want to add mformat here, which ought not to be pub here I think? Anyway, I think this pubness was a mistake. Signed-off-by: Ian Jackson --- diff --git a/src/shapelib.rs b/src/shapelib.rs index 281b608c..835f7f31 100644 --- a/src/shapelib.rs +++ b/src/shapelib.rs @@ -24,8 +24,8 @@ pub struct Registry { #[derive(Debug)] pub struct GroupData { - pub groupname: String, - pub d: GroupDetails, + groupname: String, + d: GroupDetails, } #[typetag::deserialize(tag="outline")]