From f38839557b3bd3415349b3fd7abf22a757bb5d24 Mon Sep 17 00:00:00 2001 From: Lillian Vixe Date: Fri, 24 May 2024 21:17:31 -0700 Subject: [PATCH] comments fix for clarity of inline function --- src/vvlib/s_structure_asset.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vvlib/s_structure_asset.rs b/src/vvlib/s_structure_asset.rs index 11c48ba..6f6560f 100644 --- a/src/vvlib/s_structure_asset.rs +++ b/src/vvlib/s_structure_asset.rs @@ -133,6 +133,7 @@ pub mod serialization { } } } + // v HELPER FUNCTION fn save_child(element: &String, tree: &StringTree, data: &mut String) { if let Some(children) = tree.children_of(element) { if children.is_empty() { @@ -146,6 +147,7 @@ pub mod serialization { } } } + // ^ HELPER FUNCTION while !to_process.is_empty() { if let Some(next) = to_process.pop() { save_child(&next, &asset.layout, &mut data);