Remove #[macro_use] attribute when importing macros

This commit is contained in:
gwenn
2019-08-09 20:01:44 +02:00
parent 4e36b55b31
commit d229f0f9e9
10 changed files with 11 additions and 18 deletions

View File

@@ -2,14 +2,11 @@
//! function affects SQLite process-wide and so is not safe to run as a normal
//! #[test] in the library.
#[cfg(feature = "trace")]
#[macro_use]
extern crate lazy_static;
#[cfg(feature = "trace")]
fn main() {
use std::os::raw::c_int;
use std::sync::Mutex;
use lazy_static::lazy_static;
lazy_static! {
static ref LOGS_RECEIVED: Mutex<Vec<(c_int, String)>> = Mutex::new(Vec::new());