print_summary

Function print_summary 

Source
pub fn print_summary()
Expand description

Print a summary of tracked events to stdout.

ยงExamples

let x = track_new("x", 42);
let r = track_borrow("r", &x);
track_drop("r");
track_drop("x");

print_summary();
// Output:
// === BorrowScope Summary ===
// Variables: 1 created, 2 dropped
// Borrows: 1 immutable, 0 mutable