Get rid of core::string in sr-std. (#783)

This commit is contained in:
Sergey Pepyakin
2018-09-21 15:45:04 +03:00
committed by Gav Wood
parent 25393abef8
commit 28cc4d0fd6
5 changed files with 6 additions and 6 deletions
+3 -1
View File
@@ -47,7 +47,6 @@ mod __impl {
pub use alloc::boxed;
pub use alloc::rc;
pub use alloc::vec;
pub use alloc::string;
pub use core::borrow;
pub use core::cell;
pub use core::clone;
@@ -63,6 +62,9 @@ pub use core::ops;
pub use core::ptr;
pub use core::slice;
pub use core::result;
// We are trying to avoid certain things here, such as `core::string`
// (if you need `String` you most probably doing something wrong, since
// runtime doesn't require anything human readable).
pub mod collections {
pub use alloc::collections::btree_map;