style: Migrate to stable-only rustfmt configuration
- Remove nightly-only features from .rustfmt.toml and vendor/ss58-registry/rustfmt.toml - Removed features: imports_granularity, wrap_comments, comment_width, reorder_impl_items, spaces_around_ranges, binop_separator, match_arm_blocks, trailing_semicolon, trailing_comma - Format all 898 affected files with stable rustfmt - Ensures long-term reliability without nightly toolchain dependency
This commit is contained in:
@@ -525,14 +525,17 @@ impl<
|
||||
GovernanceOrigin::Location(location) if location == Location::here() => {
|
||||
panic!("Location::here() not supported, use GovernanceOrigin::Origin instead")
|
||||
},
|
||||
GovernanceOrigin::Location(location) =>
|
||||
execute_xcm(call, location, None).ensure_complete().map_err(Either::Right),
|
||||
GovernanceOrigin::LocationAndDescendOrigin(location, descend_origin) =>
|
||||
GovernanceOrigin::Location(location) => {
|
||||
execute_xcm(call, location, None).ensure_complete().map_err(Either::Right)
|
||||
},
|
||||
GovernanceOrigin::LocationAndDescendOrigin(location, descend_origin) => {
|
||||
execute_xcm(call, location, Some(descend_origin))
|
||||
.ensure_complete()
|
||||
.map_err(Either::Right),
|
||||
GovernanceOrigin::Origin(origin) =>
|
||||
call.dispatch(origin).map(|_| ()).map_err(|e| Either::Left(e.error)),
|
||||
.map_err(Either::Right)
|
||||
},
|
||||
GovernanceOrigin::Origin(origin) => {
|
||||
call.dispatch(origin).map(|_| ()).map_err(|e| Either::Left(e.error))
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -640,8 +643,9 @@ impl<
|
||||
.into_iter()
|
||||
.filter_map(|e| unwrap_xcmp_queue_event(e.event.encode()))
|
||||
.find_map(|e| match e {
|
||||
pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { message_hash } =>
|
||||
Some(message_hash),
|
||||
pezcumulus_pezpallet_xcmp_queue::Event::XcmpMessageSent { message_hash } => {
|
||||
Some(message_hash)
|
||||
},
|
||||
_ => None,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user