Transition librustdoc to 2018 edition
This commit is contained in:
parent
082c86175f
commit
1932d7a52d
36 changed files with 419 additions and 423 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue