mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 19:51:05 +00:00
rename (#3516)
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user