Fix Box<str> use on no_std

This commit is contained in:
David Tolnay 2017-01-21 10:17:48 -08:00
parent a4126e4c5a
commit 2a148112d4
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -28,6 +28,10 @@ use collections::{
};
#[cfg(all(feature = "collections", not(feature = "std")))]
use collections::borrow::Cow;
#[cfg(all(feature = "collections", not(feature = "std")))]
use collections::boxed::Box;
#[cfg(all(feature = "collections", not(feature = "std")))]
use collections::string::ToString;
#[cfg(all(feature = "unstable", feature = "collections"))]
use collections::borrow::ToOwned;