trisquel-icecat/icecat/third_party/rust/debug_tree/examples/nested.rs
2025-10-06 02:35:48 -06:00

19 lines
252 B
Rust

use debug_tree::*;
fn a() {
add_branch!("a");
b();
c();
}
fn b() {
add_branch!("b");
c();
}
fn c() {
add_branch!("c");
add_leaf!("Nothing to see here");
}
fn main() {
defer_write!("examples/out/nested.txt");
a();
}