Skip to content

Commit

Permalink
Transition tidy and unstable-book-gento 2018 edition
Browse files Browse the repository at this point in the history
  • Loading branch information
h-michael committed Feb 3, 2019
1 parent 8a57831 commit b5ca255
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/tools/tidy/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//! etc. This is run by default on `make check` and as part of the auto
//! builders.

#![deny(rust_2018_idioms)]
#![deny(warnings)]

extern crate tidy;
Expand Down
2 changes: 1 addition & 1 deletion src/tools/tidy/src/unstable_book.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::collections::BTreeSet;
use std::fs;
use std::path;
use features::{collect_lang_features, collect_lib_features, Features, Status};
use crate::features::{collect_lang_features, collect_lib_features, Features, Status};

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

Expand Down
1 change: 1 addition & 0 deletions src/tools/unstable-book-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ authors = ["est31 <[email protected]>",
name = "unstable-book-gen"
version = "0.1.0"
license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
tidy = { path = "../tidy" }
Expand Down
3 changes: 2 additions & 1 deletion src/tools/unstable-book-gen/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
//! Auto-generate stub docs for the unstable book

#![deny(rust_2018_idioms)]
#![deny(warnings)]

extern crate tidy;


use tidy::features::{Feature, Features, collect_lib_features, collect_lang_features};
use tidy::unstable_book::{collect_unstable_feature_names, collect_unstable_book_section_file_names,
Expand Down

0 comments on commit b5ca255

Please sign in to comment.