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);