Files
sousa-gecko/third_party/rust/debug_tree/examples/multi_line.rs
T
Benjamin Beurdouche 41ed1df243 Bug 1883321 - Part 2: Vendor rust dependencies for mls-platform-api. r=glandium
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
2024-12-18 14:04:18 +00:00

9 lines
235 B
Rust

use debug_tree::*;
fn main() {
// output to file at the end of this block
defer_write!("examples/out/multi_line.txt");
add_branch!("1");
add_leaf!("1.1\nAnother line...\n... and one more line");
add_leaf!("1.2");
}