Skip to content

Commit

Permalink
remove alloc::prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
laizy committed Oct 18, 2021
1 parent d49858b commit c3cae7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ontio-std/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#![feature(lang_items)]
#![feature(core_intrinsics)]
#![feature(allocator_api)]
#![feature(alloc_prelude)]
#![feature(slice_concat_ext)]
#![cfg_attr(not(feature = "std"), no_std)]
#![feature(exclusive_range_pattern)]
Expand Down Expand Up @@ -61,7 +60,7 @@ pub mod prelude {
pub use crate::contract::TransferParam;
pub use crate::types::{Address, H256, I128, U128};
pub use alloc::boxed::Box;
pub use alloc::prelude::*;
pub use alloc::borrow::ToOwned;
pub use alloc::str;
pub use alloc::string::{self, String, ToString};
pub use alloc::vec::Vec;
Expand Down

0 comments on commit c3cae7d

Please sign in to comment.