mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +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:
@@ -90,8 +90,7 @@ pub fn expand_outer_inherent(
|
||||
use #scrate::inherent::{ProvideInherent, IsFatalError};
|
||||
use #scrate::traits::{IsSubType, ExtrinsicCall};
|
||||
use #scrate::sp_runtime::traits::Block as _;
|
||||
use #scrate::_private::sp_inherents::Error;
|
||||
use #scrate::__private::log;
|
||||
use #scrate::__private::{sp_inherents::Error, log};
|
||||
|
||||
let mut result = #scrate::inherent::CheckInherentsResult::new();
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@ pub fn generate_hidden_includes(unique_id: &str, def_crate: &str) -> TokenStream
|
||||
quote::quote!(
|
||||
#[doc(hidden)]
|
||||
mod #mod_name {
|
||||
pub extern crate #name as hidden_include;
|
||||
pub use #name as hidden_include;
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user