mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 03:01:07 +00:00
Get rid of core::string in sr-std. (#783)
This commit is contained in:
committed by
Gav Wood
parent
25393abef8
commit
28cc4d0fd6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user