Remove import of lazy_static
This commit is contained in:
@@ -24,9 +24,6 @@ use rustc_plugin;
|
|||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate matches as matches_macro;
|
extern crate matches as matches_macro;
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate lazy_static;
|
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate if_chain;
|
extern crate if_chain;
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,13 @@
|
|||||||
|
|
||||||
#![deny(missing_docs_in_private_items)]
|
#![deny(missing_docs_in_private_items)]
|
||||||
|
|
||||||
|
use lazy_static::lazy_static;
|
||||||
use std::{env, fmt, fs, io, path};
|
use std::{env, fmt, fs, io, path};
|
||||||
use std::io::Read;
|
use std::io::Read;
|
||||||
use syntax::{ast, codemap};
|
use syntax::{ast, codemap};
|
||||||
use toml;
|
use toml;
|
||||||
use std::sync::Mutex;
|
use std::sync::Mutex;
|
||||||
|
|
||||||
/// Get the configuration file from arguments.
|
/// Get the configuration file from arguments.
|
||||||
pub fn file_from_args(
|
pub fn file_from_args(
|
||||||
args: &[codemap::Spanned<ast::NestedMetaItemKind>],
|
args: &[codemap::Spanned<ast::NestedMetaItemKind>],
|
||||||
|
|||||||
Reference in New Issue
Block a user