Vendoring of third party rust code. The files not part of `third-party/` (Cargo...) are in the parent patch as requested by glandium. Note: since the initial review much dependencies have been removed and the code is now exclusively relying on NSS crypto. Differential Revision: https://phabricator.services.mozilla.com/D203682
20 lines
252 B
Rust
20 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();
|
|
}
|