diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-29 04:03:23 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-29 04:03:23 +0800 |
| commit | e2579e22812f0629706d1e81443fc512bf6add58 (patch) | |
| tree | c45c6aaa3a56c0bc4cfea4a6f626eb66568b34c0 /just_template/src/expand.rs | |
| parent | 7c20627194284f9c8ac87831917a113fb866900a (diff) | |
docs: add comprehensive module-level documentation
Diffstat (limited to 'just_template/src/expand.rs')
| -rw-r--r-- | just_template/src/expand.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/just_template/src/expand.rs b/just_template/src/expand.rs index b609113..954d903 100644 --- a/just_template/src/expand.rs +++ b/just_template/src/expand.rs @@ -56,8 +56,8 @@ fn read_impl_areas(content: String) -> Option<(String, HashMap<String, String>)> // Implementation block start if trimmed_line.starts_with(IMPL_AREA_BEGIN) { - // If the current ImplArea name length is greater than 0, it means we are already inside a block, - // since nesting is not allowed, matching fails, exit early + // If the current ImplArea name is not empty, a block is already active. + // Nesting is not allowed, so matching fails and exits early. if !current_area_name.is_empty() { return None; } |
