more prod ready comments

This commit is contained in:
Priec
2025-08-18 21:10:06 +02:00
parent 465db82bd9
commit f9d9231d50
8 changed files with 48 additions and 19 deletions

View File

@@ -1,11 +1,10 @@
/* file: canvas/src/computed/state.rs */
/*
Add computed state module file implementing caching and dependencies
*/
// ================================================================================================
// COMPUTED FIELDS - State: caching and dependencies
// ================================================================================================
// src/computed/state.rs
//! Computed field state: caching and dependency graph.
//!
//! This module holds the internal state necessary to track which fields are
//! computed, their dependencies, and cached computed values. It is used by the
//! editor to avoid unnecessary recomputation and to present computed fields as
//! read-only.
use std::collections::{HashMap, HashSet};
@@ -85,4 +84,4 @@ impl Default for ComputedState {
fn default() -> Self {
Self::new()
}
}
}