Skip to content

Commit b5ca255

Browse files
committed
Transition tidy and unstable-book-gento 2018 edition
1 parent 8a57831 commit b5ca255

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

src/tools/tidy/src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
//! etc. This is run by default on `make check` and as part of the auto
55
//! builders.
66
7+
#![deny(rust_2018_idioms)]
78
#![deny(warnings)]
89

910
extern crate tidy;

src/tools/tidy/src/unstable_book.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::collections::BTreeSet;
22
use std::fs;
33
use std::path;
4-
use features::{collect_lang_features, collect_lib_features, Features, Status};
4+
use crate::features::{collect_lang_features, collect_lib_features, Features, Status};
55

66
pub const PATH_STR: &str = "doc/unstable-book/src";
77

src/tools/unstable-book-gen/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ authors = ["est31 <[email protected]>",
44
name = "unstable-book-gen"
55
version = "0.1.0"
66
license = "MIT/Apache-2.0"
7+
edition = "2018"
78

89
[dependencies]
910
tidy = { path = "../tidy" }

src/tools/unstable-book-gen/src/main.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
//! Auto-generate stub docs for the unstable book
22
3+
#![deny(rust_2018_idioms)]
34
#![deny(warnings)]
45

5-
extern crate tidy;
6+
67

78
use tidy::features::{Feature, Features, collect_lib_features, collect_lang_features};
89
use tidy::unstable_book::{collect_unstable_feature_names, collect_unstable_book_section_file_names,

0 commit comments

Comments
 (0)