From 00ba67a12b9cb725c2308c5d3f8f70528878610c Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Thu, 19 Jul 2018 00:11:15 -0700 Subject: [PATCH] Remove import of lazy_static --- clippy_lints/src/lib.rs | 3 --- clippy_lints/src/utils/conf.rs | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 7eaa1de3c06..02e92f1f407 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -24,9 +24,6 @@ use rustc_plugin; #[macro_use] extern crate matches as matches_macro; -#[macro_use] -extern crate lazy_static; - #[macro_use] extern crate if_chain; diff --git a/clippy_lints/src/utils/conf.rs b/clippy_lints/src/utils/conf.rs index e18245c3f98..52b34916627 100644 --- a/clippy_lints/src/utils/conf.rs +++ b/clippy_lints/src/utils/conf.rs @@ -2,11 +2,13 @@ #![deny(missing_docs_in_private_items)] +use lazy_static::lazy_static; use std::{env, fmt, fs, io, path}; use std::io::Read; use syntax::{ast, codemap}; use toml; use std::sync::Mutex; + /// Get the configuration file from arguments. pub fn file_from_args( args: &[codemap::Spanned],