comments fix for clarity of inline function

This commit is contained in:
Lillian Vixe 2024-05-24 21:17:31 -07:00
parent 4123df7072
commit f38839557b

View file

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