Skip to content

Commit d11d1af

Browse files
committed
Transition rustdoc-theme to 2018 edition
1 parent 8a57831 commit d11d1af

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)