mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 22:37:57 +00:00
Fix Compiler Warnings (new rustc) (#8907)
* unused mmr * more unused * dyn in executor * remove `doc(inline)` * fix dyn for sp-api-test * update benchmarks * Update primitives/core/benches/bench.rs * Update primitives/core/benches/bench.rs * update another bench * fix benchmark? Co-authored-by: adoerr <0xad@gmx.net>
This commit is contained in:
@@ -41,14 +41,14 @@ pub mod example {
|
||||
|
||||
decl_module! {
|
||||
pub struct Module<T: Config> for enum Call where origin: <T as frame_system::Config>::Origin {
|
||||
#[weight = *weight]
|
||||
fn noop(_origin, weight: Weight) { }
|
||||
#[weight = *_weight]
|
||||
fn noop(_origin, _weight: Weight) { }
|
||||
|
||||
#[weight = *start_weight]
|
||||
#[weight = *_start_weight]
|
||||
fn foobar(
|
||||
origin,
|
||||
err: bool,
|
||||
start_weight: Weight,
|
||||
_start_weight: Weight,
|
||||
end_weight: Option<Weight>,
|
||||
) -> DispatchResultWithPostInfo {
|
||||
let _ = ensure_signed(origin)?;
|
||||
|
||||
Reference in New Issue
Block a user