Skip to content

Commit

Permalink
Rollup merge of rust-lang#58117 - h-michael:rustdoc-theme-2018, r=Cen…
Browse files Browse the repository at this point in the history
…tril

Transition rustdoc-theme to 2018 edition

Transitions rustdoc-theme to Rust 2018; cc rust-lang#58099
  • Loading branch information
kennytm authored Feb 5, 2019
2 parents 757c440 + d11d1af commit 3dbdd69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/rustdoc-themes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "rustdoc-themes"
version = "0.1.0"
authors = ["Guillaume Gomez <[email protected]>"]
edition = "2018"

[[bin]]
name = "rustdoc-themes"
Expand Down
2 changes: 2 additions & 0 deletions src/tools/rustdoc-themes/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![deny(rust_2018_idioms)]

use std::env::args;
use std::fs::read_dir;
use std::path::Path;
Expand Down

0 comments on commit 3dbdd69

Please sign in to comment.