Skip to content

Commit

Permalink
Fix import Vec in admin-utils benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-otf committed Dec 12, 2024
1 parent 552fa1b commit 8ac4b83
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pallets/admin-utils/src/benchmarking.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
//! Benchmarking setup
#![cfg(feature = "runtime-benchmarks")]
#![allow(clippy::arithmetic_side_effects)]
use super::*;

extern crate alloc;
use alloc::vec::Vec;

#[allow(unused)]
use crate::Pallet as AdminUtils;
Expand All @@ -10,6 +12,8 @@ use frame_benchmarking::v2::*;
use frame_support::BoundedVec;
use frame_system::RawOrigin;

use super::*;

#[benchmarks]
mod benchmarks {
use super::*;
Expand Down

0 comments on commit 8ac4b83

Please sign in to comment.