From b4a2823cd6c6f1a560469587f902f3a1f49d3c79 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 10 Jun 2015 19:33:04 -0700 Subject: More test fixes and fallout of stability changes --- src/liblog/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/liblog') diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs index 246b5909865..7bafd9382f0 100644 --- a/src/liblog/lib.rs +++ b/src/liblog/lib.rs @@ -173,12 +173,10 @@ #![feature(box_syntax)] #![feature(const_fn)] #![feature(iter_cmp)] -#![feature(once_new)] #![feature(rt)] #![feature(staged_api)] #![feature(static_mutex)] -use std::boxed; use std::cell::RefCell; use std::fmt; use std::io::{self, Stderr}; @@ -437,12 +435,12 @@ fn init() { assert!(FILTER.is_null()); match filter { - Some(f) => FILTER = boxed::into_raw(box f), + Some(f) => FILTER = Box::into_raw(box f), None => {} } assert!(DIRECTIVES.is_null()); - DIRECTIVES = boxed::into_raw(box directives); + DIRECTIVES = Box::into_raw(box directives); // Schedule the cleanup for the globals for when the runtime exits. let _ = rt::at_exit(move || { -- cgit 1.4.1-3-g733a5