Skip to content

Commit

Permalink
Fix formatting after additional changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dcompoze committed Mar 24, 2024
1 parent d2c4b15 commit 63fe215
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bridges/modules/messages/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub const LOG_TARGET: &str = "runtime::bridge-messages";
#[frame_support::pallet]
pub mod pallet {
use super::*;
use bp_messages::{ReceptionResult, ReceivedMessages};
use bp_messages::{ReceivedMessages, ReceptionResult};
use bp_runtime::RangeInclusiveExt;
use frame_support::pallet_prelude::*;
use frame_system::pallet_prelude::*;
Expand Down
5 changes: 2 additions & 3 deletions substrate/primitives/state-machine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,8 @@ pub use crate::{
error::{Error, ExecutionError},
ext::Ext,
overlayed_changes::{
ChildStorageCollection, IndexOperation, OffchainChangesCollection,
OffchainOverlaidChanges, OverlaidChanges, StorageChanges, StorageCollection, StorageKey,
StorageValue,
ChildStorageCollection, IndexOperation, OffchainChangesCollection, OffchainOverlaidChanges,
OverlaidChanges, StorageChanges, StorageCollection, StorageKey, StorageValue,
},
stats::{StateMachineStats, UsageInfo, UsageUnit},
trie_backend::{TrieBackend, TrieBackendBuilder},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ impl OffchainOverlaidChanges {
}

/// Mutable reference to inner change set.
pub fn overlay_mut(
&mut self,
) -> &mut OverlaidMap<(Vec<u8>, Vec<u8>), OffchainOverlaidChange> {
pub fn overlay_mut(&mut self) -> &mut OverlaidMap<(Vec<u8>, Vec<u8>), OffchainOverlaidChange> {
&mut self.0
}
}
Expand Down

0 comments on commit 63fe215

Please sign in to comment.