Fixes necessary for having no_std imports work with edition2018

This commit is contained in:
Alexander Theißen
2020-10-22 12:26:24 +02:00
parent a2653cff5a
commit aebfc0fbd7
15 changed files with 54 additions and 42 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
#[cfg(features = "std")]
use std::collections::{HashSet as Set};
use crate::std::collections::{HashSet as Set};
#[cfg(not(features = "std"))]
use std::collections::{BTreeSet as Set};
use std::vec::Vec;
use std::mem;
use crate::std::collections::{BTreeSet as Set};
use crate::std::vec::Vec;
use crate::std::mem;
use parity_wasm::elements;