Rollup merge of #58117 - h-michael:rustdoc-theme-2018, r=Centril

Transition rustdoc-theme to 2018 edition

Transitions rustdoc-theme to Rust 2018; cc #58099
This commit is contained in:
kennytm 2019-02-06 00:29:03 +09:00 committed by GitHub
commit 3dbdd692cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@
name = "rustdoc-themes"
version = "0.1.0"
authors = ["Guillaume Gomez <guillaume1.gomez@gmail.com>"]
edition = "2018"
[[bin]]
name = "rustdoc-themes"

View File

@ -1,3 +1,5 @@
#![deny(rust_2018_idioms)]
use std::env::args;
use std::fs::read_dir;
use std::path::Path;