import boxed for alloc/rc.rs (fixup #22696)
This commit is contained in:
parent
f17a5220cb
commit
8eb655b1e6
1 changed files with 3 additions and 1 deletions
|
@ -143,8 +143,10 @@
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
#![stable(feature = "rust1", since = "1.0.0")]
|
#![stable(feature = "rust1", since = "1.0.0")]
|
||||||
|
#[cfg(not(test))]
|
||||||
use boxed;
|
use boxed;
|
||||||
|
#[cfg(test)]
|
||||||
|
use std::boxed;
|
||||||
use core::cell::Cell;
|
use core::cell::Cell;
|
||||||
use core::clone::Clone;
|
use core::clone::Clone;
|
||||||
use core::cmp::{PartialEq, PartialOrd, Eq, Ord, Ordering};
|
use core::cmp::{PartialEq, PartialOrd, Eq, Ord, Ordering};
|
||||||
|
|
Loading…
Add table
Reference in a new issue