diff --git a/substrate/frame/election-provider-multi-phase/src/lib.rs b/substrate/frame/election-provider-multi-phase/src/lib.rs index 5e1bc8df9a..c4a5e0fa69 100644 --- a/substrate/frame/election-provider-multi-phase/src/lib.rs +++ b/substrate/frame/election-provider-multi-phase/src/lib.rs @@ -241,7 +241,8 @@ const LOG_TARGET: &'static str = "runtime::election-provider"; pub mod unsigned; pub mod weights; -use weights::WeightInfo; +/// The weight declaration of the pallet. +pub use weights::WeightInfo; /// The compact solution type used by this crate. pub type CompactOf = ::CompactSolution;