Skip to content

Commit

Permalink
Fix errors for wasm build
Browse files Browse the repository at this point in the history
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
  • Loading branch information
Arjentix committed Feb 23, 2022
1 parent 6760420 commit d74b38e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions data_model/src/events/data/mod.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
//! Data events.

#[cfg(not(feature = "std"))]
use alloc::{format, string::String, vec, vec::Vec};
use std::fmt::Debug;
use alloc::{format, string::String, vec::Vec};

pub use events::Event;
use events::IdTrait;
Expand Down
7 changes: 1 addition & 6 deletions data_model/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,12 +580,7 @@ pub mod trigger {
//! Structures traits and impls related to `Trigger`s.

#[cfg(not(feature = "std"))]
use alloc::{
collections::{btree_map, btree_set},
format,
string::String,
vec::Vec,
};
use alloc::{format, string::String, vec::Vec};
use core::cmp::Ordering;

use iroha_schema::IntoSchema;
Expand Down

0 comments on commit d74b38e

Please sign in to comment.