Function rustdoc::html::render::write_shared::read_template_or_blank

source ยท
fn read_template_or_blank<F, T: FileFormat>(
    make_blank: F,
    path: &Path,
) -> Result<SortedTemplate<T>, Error>
where F: FnMut() -> SortedTemplate<T>,
Expand description

Returns a blank template unless we could find one to append to