Define modules in lib.rs instead of main.rs

This commit is contained in:
flip1995
2020-03-31 15:09:11 +02:00
parent 09fe163c92
commit 8b9d70d349
5 changed files with 14 additions and 8 deletions

View File

@@ -9,6 +9,11 @@ use std::fs;
use std::path::{Path, PathBuf};
use walkdir::WalkDir;
pub mod fmt;
pub mod new_lint;
pub mod stderr_length_check;
pub mod update_lints;
lazy_static! {
static ref DEC_CLIPPY_LINT_RE: Regex = Regex::new(
r#"(?x)