dprint_core::formatting

Function print

source
pub fn print(print_items: PrintItems, options: PrintOptions) -> String
Expand description

Prints out the print items using the provided options.

Note: This should only be used in rare scenarios. In most cases, use only dprint_core::formatting::format.