Skip to content

Commit 8ac4b83

Browse files
committed
Fix import Vec in admin-utils benchmarking
1 parent 552fa1b commit 8ac4b83

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pallets/admin-utils/src/benchmarking.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
//! Benchmarking setup
22
#![cfg(feature = "runtime-benchmarks")]
33
#![allow(clippy::arithmetic_side_effects)]
4-
use super::*;
4+
5+
extern crate alloc;
6+
use alloc::vec::Vec;
57

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

15+
use super::*;
16+
1317
#[benchmarks]
1418
mod benchmarks {
1519
use super::*;

0 commit comments

Comments
 (0)