From 8f80c4429467f62dd4cb01a337dc1a5d1e96ea99 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 4 May 2022 23:34:23 +0100 Subject: [PATCH] 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 --- src/shapelib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")] -- 2.30.2