Skip to content

Commit

Permalink
fatal test cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
dekellum committed Mar 29, 2019
1 parent 5eb9230 commit e060e3a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/fatal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
use std::cell::RefCell;
use std::sync::{Once, Arc};

use tao_log::*;
use log::{Log, Record, Metadata};
#[cfg(feature = "std")] use log::set_boxed_logger;

use tao_log::fatal;
use parking_lot::{ReentrantMutex, ReentrantMutexGuard};

#[cfg(feature = "std")]
use log::set_boxed_logger;

#[cfg(not(feature = "std"))]
fn set_boxed_logger(logger: Box<Log>) -> Result<(), log::SetLoggerError> {
log::set_logger(Box::leak(logger))
Expand Down

0 comments on commit e060e3a

Please sign in to comment.