Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
wangminqi committed Jan 2, 2025
1 parent 13fd353 commit a0c104f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions parachain/runtime/litentry/src/migration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@

// In try-runtime, current implementation, the storage version is not checked,
// Pallet version is used instead.
use frame_support::{
ensure,
traits::{Get, GetStorageVersion, OnRuntimeUpgrade, PalletInfoAccess, StorageVersion},
#[cfg(feature = "try-runtime")]
use frame_support::ensure;
use frame_support::traits::{
Get, GetStorageVersion, OnRuntimeUpgrade, PalletInfoAccess, StorageVersion,
};
use frame_system::pallet_prelude::BlockNumberFor;
use pallet_scheduler::Agenda;
Expand Down

0 comments on commit a0c104f

Please sign in to comment.