Skip to content

Commit

Permalink
make CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jasl committed Jul 14, 2024
1 parent e73513f commit 9216a36
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub mod xcm_config;

extern crate alloc;

use alloc::vec::Vec;
use alloc::{vec, vec::Vec};
use bridge_runtime_common::extensions::{
check_obsolete_extension::{
CheckAndBoostBridgeGrandpaTransactions, CheckAndBoostBridgeParachainsTransactions,
Expand Down Expand Up @@ -113,7 +113,7 @@ use parachains_common::{
};

#[cfg(feature = "runtime-benchmarks")]
use alloc::{boxed::Box, vec};
use alloc::boxed::Box;
#[cfg(feature = "runtime-benchmarks")]
use benchmark_helpers::DoNothingRouter;

Expand Down
9 changes: 8 additions & 1 deletion substrate/frame/bags-list/src/list/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ use crate::Config;
use alloc::{
boxed::Box,
collections::{btree_map::BTreeMap, btree_set::BTreeSet},
vec::Vec,
};
use codec::{Decode, Encode, MaxEncodedLen};
use core::{iter, marker::PhantomData};
Expand All @@ -42,6 +41,14 @@ use scale_info::TypeInfo;
use sp_runtime::traits::{Bounded, Zero};

#[cfg(any(test, feature = "try-runtime", feature = "fuzz"))]
use alloc::vec::Vec;
#[cfg(any(
test,
feature = "try-runtime",
feature = "fuzz",
feature = "std",
feature = "runtime-benchmarks"
))]
use sp_runtime::TryRuntimeError;

#[derive(Debug, PartialEq, Eq, Encode, Decode, MaxEncodedLen, TypeInfo, PalletError)]
Expand Down

0 comments on commit 9216a36

Please sign in to comment.