diff options
| author | kennytm <kennytm@gmail.com> | 2019-02-06 00:29:03 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-06 00:29:03 +0900 |
| commit | 3dbdd692cc7ca436d9d22e036bf46ba06813eb1f (patch) | |
| tree | cd30d3d240e6839abbf33a248ff8875b03cf2641 /src/tools | |
| parent | 757c4407db9d33f0a8bf03a53bbfc5df55154ae3 (diff) | |
| parent | d11d1afa64ca2c29747074bce0f7bb2278b5ae66 (diff) | |
| download | rust-3dbdd692cc7ca436d9d22e036bf46ba06813eb1f.tar.gz rust-3dbdd692cc7ca436d9d22e036bf46ba06813eb1f.zip | |
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
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/rustdoc-themes/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/tools/rustdoc-themes/main.rs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/rustdoc-themes/Cargo.toml b/src/tools/rustdoc-themes/Cargo.toml index c0e2f527301..c12a20fd56c 100644 --- a/src/tools/rustdoc-themes/Cargo.toml +++ b/src/tools/rustdoc-themes/Cargo.toml @@ -2,6 +2,7 @@ name = "rustdoc-themes" version = "0.1.0" authors = ["Guillaume Gomez <guillaume1.gomez@gmail.com>"] +edition = "2018" [[bin]] name = "rustdoc-themes" diff --git a/src/tools/rustdoc-themes/main.rs b/src/tools/rustdoc-themes/main.rs index 616b5444832..63432a6585a 100644 --- a/src/tools/rustdoc-themes/main.rs +++ b/src/tools/rustdoc-themes/main.rs @@ -1,3 +1,5 @@ +#![deny(rust_2018_idioms)] + use std::env::args; use std::fs::read_dir; use std::path::Path; |
