Update dependencies and use Once::new() instead of ONCE_INIT

This commit is contained in:
Jakub Konka
2019-10-02 22:10:15 +02:00
parent 6749015c26
commit da59c95f0c
2 changed files with 7 additions and 7 deletions

View File

@@ -1,9 +1,9 @@
mod runtime;
mod utils;
use std::sync::{Once, ONCE_INIT};
use std::sync::Once;
static LOG_INIT: Once = ONCE_INIT;
static LOG_INIT: Once = Once::new();
fn setup_log() {
LOG_INIT.call_once(|| {