Function tiny_pretty::print

source ·
pub fn print(doc: &Doc<'_>, options: &PrintOptions) -> String
Expand description

Pretty print a doc.

§Panics

Panics if options.tab_size is 0.