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:
a37ad5e
)
shapelib-toml: Add an internal comment
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 6 Apr 2021 18:54:21 +0000
(19:54 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 6 Apr 2021 19:22:04 +0000
(20:22 +0100)
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 4b03ba9dbb227a8ab3f9a65888d8bbff60ef4569..b57362925f34ff8e76dad5292d0f78253b8c119b 100644
(file)
--- a/
src/shapelib-toml.rs
+++ b/
src/shapelib-toml.rs
@@
-48,6
+48,10
@@
pub struct LibraryTomlFile {
/// implementation convenient (for complicated reasons). At the
/// library TOML file level, there is no meaningful difference between
/// the fields in this struct, and the ones in `GroupDetails`
+//
+// At the implementation level, each loaded item contains an
+// `Arc<GroupDetails>`, which is simply stored directly. The
+// `GroupDefn` is processed.
#[derive(Debug,Deserialize)]
pub struct GroupDefn {
/// `files` is a multi-line string, each line of which has three