1
Fork 0

Transition librustdoc to 2018 edition

This commit is contained in:
Hirokazu Hata 2019-02-23 16:40:07 +09:00
parent 082c86175f
commit 1932d7a52d
36 changed files with 419 additions and 423 deletions

View file

@ -2,9 +2,8 @@ use std::fmt;
use std::io;
use std::path::PathBuf;
use externalfiles::ExternalHtml;
use html::render::SlashChecker;
use crate::externalfiles::ExternalHtml;
use crate::html::render::SlashChecker;
#[derive(Clone)]
pub struct Layout {
@ -29,7 +28,7 @@ pub struct Page<'a> {
pub fn render<T: fmt::Display, S: fmt::Display>(
dst: &mut dyn io::Write,
layout: &Layout,
page: &Page,
page: &Page<'_>,
sidebar: &S,
t: &T,
css_file_extension: bool,