From 63ecb15824007303fd1b9438e2de0047a12daed1 Mon Sep 17 00:00:00 2001 From: davidemazzocchi Date: Thu, 9 Oct 2025 15:34:01 +0200 Subject: [PATCH] doc: add doc comments to ctalog struct description --- 01.workspace/heave/src/str/catalog.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/01.workspace/heave/src/str/catalog.rs b/01.workspace/heave/src/str/catalog.rs index dc7130c..34dc370 100644 --- a/01.workspace/heave/src/str/catalog.rs +++ b/01.workspace/heave/src/str/catalog.rs @@ -1,11 +1,14 @@ use crate::*; +/// Represents a catalog of entities that can be persisted to a SQLite database. +/// +/// The `Catalog` holds entities in memory and provides methods to interact with +/// them, as well as to persist changes to and load data from a database file. #[derive(Debug, Default, PartialEq, Clone)] pub struct O { path: String, pub(crate) items: std::collections::HashMap, } - impl O { /// Creates a new `Catalog` instance. ///