mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
cleanup a few hidden imports in frame-support (#1770)
Just making a few hidden imports cleaner and hidden in docs. --------- Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
/// Export ourself as `frame_support` to make tests happy.
|
||||
#[doc(hidden)]
|
||||
extern crate self as frame_support;
|
||||
|
||||
/// Private exports that are being used by macros.
|
||||
@@ -45,6 +46,7 @@ pub mod __private {
|
||||
pub use serde;
|
||||
pub use sp_core::{OpaqueMetadata, Void};
|
||||
pub use sp_core_hashing_proc_macro;
|
||||
pub use sp_inherents;
|
||||
pub use sp_io::{self, storage::root as storage_root};
|
||||
pub use sp_metadata_ir as metadata_ir;
|
||||
#[cfg(feature = "std")]
|
||||
@@ -786,12 +788,6 @@ pub use serde::{Deserialize, Serialize};
|
||||
#[cfg(not(no_std))]
|
||||
pub use macro_magic;
|
||||
|
||||
/// Private module re-exporting items used by frame support macros.
|
||||
#[doc(hidden)]
|
||||
pub mod _private {
|
||||
pub use sp_inherents;
|
||||
}
|
||||
|
||||
/// Prelude to be used for pallet testing, for ease of use.
|
||||
#[cfg(feature = "std")]
|
||||
pub mod testing_prelude {
|
||||
|
||||
Reference in New Issue
Block a user