This commit is contained in:
thiolliere
2019-08-29 17:43:04 +02:00
committed by GitHub
parent 9900562389
commit 26202c66f7
14 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
use crate::rstd::prelude::*;
use crate::codec::{Codec, Encode};
use crate::storage::unhashed;
use sr_std::borrow::Borrow;
use rstd::borrow::Borrow;
/// An implementation of a map with a two keys.
///
+1 -1
View File
@@ -27,7 +27,7 @@ extern crate bitmask;
#[cfg(feature = "std")]
pub use serde;
#[doc(hidden)]
pub use sr_std as rstd;
pub use rstd;
#[doc(hidden)]
pub use codec;
#[cfg(feature = "std")]
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
use sr_std::prelude::*;
use rstd::prelude::*;
use codec::{Codec, Encode, EncodeAppend};
use crate::{storage::{self, unhashed, hashed::StorageHasher}, rstd::borrow::Borrow};
@@ -16,7 +16,7 @@
use codec::{Codec, Encode, Decode};
use crate::{storage::{self, unhashed, hashed::StorageHasher}, traits::Len};
use sr_std::{
use rstd::{
borrow::Borrow,
marker::PhantomData,
};
@@ -15,8 +15,8 @@
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
#[cfg(not(feature = "std"))]
use sr_std::prelude::*;
use sr_std::borrow::Borrow;
use rstd::prelude::*;
use rstd::borrow::Borrow;
use codec::{Codec, Encode};
use crate::{storage::{self, unhashed, hashed::StorageHasher}, traits::Len};
@@ -15,8 +15,8 @@
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
#[cfg(not(feature = "std"))]
use sr_std::prelude::*;
use sr_std::{borrow::Borrow, iter::FromIterator};
use rstd::prelude::*;
use rstd::{borrow::Borrow, iter::FromIterator};
use codec::{Codec, Encode};
use crate::{storage::{self, unhashed, hashed::{Twox128, StorageHasher}}, traits::Len};