run_format

Function run_format 

Source
pub(crate) fn run_format<'tcx, T: FormatRenderer<'tcx>, F: FnOnce(Crate, RenderOptions, Cache, TyCtxt<'tcx>) -> Result<(T, Crate), Error>>(
    krate: Crate,
    options: RenderOptions,
    cache: Cache,
    tcx: TyCtxt<'tcx>,
    init: F,
) -> Result<(), Error>
Expand description

Main method for rendering a crate.