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:
116b634
)
shapelib: Make fields of GroupData private
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 4 May 2022 22:34:23 +0000
(23:34 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 4 May 2022 22:34:23 +0000
(23:34 +0100)
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 <ijackson@chiark.greenend.org.uk>
src/shapelib.rs
patch
|
blob
|
history
diff --git
a/src/shapelib.rs
b/src/shapelib.rs
index 281b608c6db0dd7bc8ea0327febdab72f062498f..835f7f315560bc532307dd3b14d740b99081c192 100644
(file)
--- 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")]