debug2
debug2 copied to clipboard
Space Efficient Pretty Printer
```rust use debug2::{pprint, Debug}; use insta::assert_snapshot; macro_rules! check { ($e:expr) => { assert_snapshot!(pprint($e)) }; } #[derive(Debug)] enum LinkedList { Empty, Node(T, Box), } #[test] fn linked_list_reasonable_time() { let mut list...
https://github.com/dtolnay/prettyplease http://i.stanford.edu/pub/cstr/reports/cs/tr/79/770/CS-TR-79-770.pdf
#[debug2(skip)], etc