comments fix for clarity of inline function
This commit is contained in:
parent
4123df7072
commit
f38839557b
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue