From 90e1909d8d1ba2ce914e8e675e2206247a50387d Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Fri, 20 Jan 2023 12:14:20 +0300 Subject: [PATCH] No wildcard patterns in Cargo.toml (#1789) * dependabot doesn't support wildcard patterns in cargo.toml and we want dependabot * spelling for "fresh" crates * and fmt * spelling again --- bridges/bin/runtime-common/src/integrity.rs | 4 ++-- bridges/bin/runtime-common/src/messages.rs | 6 +++--- bridges/bin/runtime-common/src/mock.rs | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bridges/bin/runtime-common/src/integrity.rs b/bridges/bin/runtime-common/src/integrity.rs index 45387b5a16839..11c6cb90a8361 100644 --- a/bridges/bin/runtime-common/src/integrity.rs +++ b/bridges/bin/runtime-common/src/integrity.rs @@ -101,8 +101,8 @@ macro_rules! assert_bridge_messages_pallet_types( /// Macro that combines four other macro calls - `assert_chain_types`, `assert_bridge_types`, /// `assert_bridge_grandpa_pallet_types` and `assert_bridge_messages_pallet_types`. It may be used -/// at the chain that is implemeting complete standard messages bridge (i.e. with bridge GRANDPA and -/// messages pallets deployed). +/// at the chain that is implementing complete standard messages bridge (i.e. with bridge GRANDPA +/// and messages pallets deployed). #[macro_export] macro_rules! assert_complete_bridge_types( ( diff --git a/bridges/bin/runtime-common/src/messages.rs b/bridges/bin/runtime-common/src/messages.rs index 0d38e4b0d2504..8c97198393def 100644 --- a/bridges/bin/runtime-common/src/messages.rs +++ b/bridges/bin/runtime-common/src/messages.rs @@ -163,13 +163,13 @@ pub mod source { #[derive(RuntimeDebug)] pub struct FromThisChainMessageVerifier(PhantomData); - /// The error message returned from LaneMessageVerifier when outbound lane is disabled. + /// The error message returned from `LaneMessageVerifier` when outbound lane is disabled. pub const MESSAGE_REJECTED_BY_OUTBOUND_LANE: &str = "The outbound message lane has rejected the message."; - /// The error message returned from LaneMessageVerifier when too many pending messages at the + /// The error message returned from `LaneMessageVerifier` when too many pending messages at the /// lane. pub const TOO_MANY_PENDING_MESSAGES: &str = "Too many pending messages at the lane."; - /// The error message returned from LaneMessageVerifier when call origin is mismatch. + /// The error message returned from `LaneMessageVerifier` when call origin is mismatch. pub const BAD_ORIGIN: &str = "Unable to match the source origin to expected target origin."; impl LaneMessageVerifier>, FromThisChainMessagePayload> diff --git a/bridges/bin/runtime-common/src/mock.rs b/bridges/bin/runtime-common/src/mock.rs index d4b177510bf3a..51b03447c6383 100644 --- a/bridges/bin/runtime-common/src/mock.rs +++ b/bridges/bin/runtime-common/src/mock.rs @@ -245,8 +245,8 @@ impl pallet_bridge_relayers::Config for TestRuntime { type WeightInfo = (); } -/// Bridge that is deployed on ThisChain and allows sending/receiving messages to/from -/// BridgedChain. +/// Bridge that is deployed on `ThisChain` and allows sending/receiving messages to/from +/// `BridgedChain`. #[derive(Debug, PartialEq, Eq)] pub struct OnThisChainBridge; @@ -260,8 +260,8 @@ impl MessageBridge for OnThisChainBridge { type BridgedHeaderChain = pallet_bridge_grandpa::GrandpaChainHeaders; } -/// Bridge that is deployed on BridgedChain and allows sending/receiving messages to/from -/// ThisChain; +/// Bridge that is deployed on `BridgedChain` and allows sending/receiving messages to/from +/// `ThisChain`. #[derive(Debug, PartialEq, Eq)] pub struct OnBridgedChainBridge;