From: Ian Jackson Date: Tue, 6 Apr 2021 18:54:21 +0000 (+0100) Subject: shapelib-toml: Add an internal comment X-Git-Tag: otter-0.5.0~149 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=09220de61c6376fc0dd1c74ef8f01834bbbd5791;p=otter.git shapelib-toml: Add an internal comment Signed-off-by: Ian Jackson --- diff --git a/src/shapelib-toml.rs b/src/shapelib-toml.rs index 4b03ba9d..b5736292 100644 --- 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`, 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