From 71d8fefc3cf6a5c69f7c5dbc1b5701a7442a3b51 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Sun, 27 Oct 2024 13:38:50 +0100 Subject: [PATCH] ProductEditorSegment docstrings --- lib-nested-core/src/editors/product/segment.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib-nested-core/src/editors/product/segment.rs b/lib-nested-core/src/editors/product/segment.rs index 0b223f5..a9c9318 100644 --- a/lib-nested-core/src/editors/product/segment.rs +++ b/lib-nested-core/src/editors/product/segment.rs @@ -19,7 +19,10 @@ use { #[derive(Clone)] pub enum ProductEditorSegment { + /// Terminal Node, i.e. literal, immutable string T( String, usize ), + + /// Nonterminal Node, i.e. sub-editor for type t N { t: TypeTerm, editor: Option,