Skip to content

Commit 3dbdd69

Browse files
authored
Rollup merge of rust-lang#58117 - h-michael:rustdoc-theme-2018, r=Centril
Transition rustdoc-theme to 2018 edition Transitions rustdoc-theme to Rust 2018; cc rust-lang#58099
2 parents 757c440 + d11d1af commit 3dbdd69

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/tools/rustdoc-themes/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "rustdoc-themes"
33
version = "0.1.0"
44
authors = ["Guillaume Gomez <[email protected]>"]
5+
edition = "2018"
56

67
[[bin]]
78
name = "rustdoc-themes"

src/tools/rustdoc-themes/main.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![deny(rust_2018_idioms)]
2+
13
use std::env::args;
24
use std::fs::read_dir;
35
use std::path::Path;

0 commit comments

Comments
 (0)