Skip to content

Commit eed5e81

Browse files
authored
bump rust-1.88.0 (#1029)
* bump rust-1.88.0 * fix clippy * allow useless_conversion
1 parent 1aa875c commit eed5e81

File tree

7 files changed

+8
-5
lines changed

7 files changed

+8
-5
lines changed

asset-registry/src/impls.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ impl<W: WeightToFeeConverter, R: TakeRevenue> WeightTrader for AssetRegistryTrad
101101
) -> Result<AssetsInHolding, XcmError> {
102102
log::trace!(
103103
target: "xcm::weight",
104-
"AssetRegistryTrader::buy_weight weight: {:?}, payment: {:?}",
105-
weight, payment,
104+
"AssetRegistryTrader::buy_weight weight: {weight:?}, payment: {payment:?}"
106105
);
107106

108107
for (asset, _) in payment.fungible.iter() {
@@ -140,7 +139,7 @@ impl<W: WeightToFeeConverter, R: TakeRevenue> WeightTrader for AssetRegistryTrad
140139
}
141140

142141
fn refund_weight(&mut self, weight: XcmWeight, _context: &XcmContext) -> Option<Asset> {
143-
log::trace!(target: "xcm::weight", "AssetRegistryTrader::refund_weight weight: {:?}", weight);
142+
log::trace!(target: "xcm::weight", "AssetRegistryTrader::refund_weight weight: {weight:?}");
144143

145144
match self.bought_weight {
146145
Some(ref mut bought) => {

authority/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#![allow(clippy::boxed_local)]
2626
#![allow(clippy::borrowed_box)]
2727
#![allow(clippy::unused_unit)]
28+
#![allow(clippy::useless_conversion)]
2829

2930
use frame_support::{
3031
dispatch::PostDispatchInfo,

oracle/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
// Disable the following two lints since they originate from an external macro (namely decl_storage)
1919
#![allow(clippy::string_lit_as_bytes)]
2020
#![allow(clippy::unused_unit)]
21+
#![allow(clippy::useless_conversion)]
2122

2223
use parity_scale_codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
2324

payments/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
//! When a payment is 'completed' or 'cancelled' it is removed from storage and
6060
//! hence not tracked by a state.
6161
#![cfg_attr(not(feature = "std"), no_std)]
62+
#![allow(clippy::useless_conversion)]
6263
pub use pallet::*;
6364

6465
#[cfg(test)]

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "1.84.1"
2+
channel = "1.88.0"
33
components = ["rust-src", "rustfmt", "clippy"]
44
targets = ["wasm32-unknown-unknown"]

tokens/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#![cfg_attr(not(feature = "std"), no_std)]
3737
#![allow(clippy::unused_unit)]
3838
#![allow(clippy::comparison_chain)]
39+
#![allow(clippy::useless_conversion)]
3940

4041
pub use crate::imbalances::{NegativeImbalance, PositiveImbalance};
4142

xtokens/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ pub mod module {
689689
T::XcmExecutor::prepare_and_execute(origin_location, msg, &mut hash, weight, weight)
690690
.ensure_complete()
691691
.map_err(|error| {
692-
log::error!("Failed execute transfer message with {:?}", error);
692+
log::error!("Failed execute transfer message with {error:?}");
693693
Error::<T>::XcmExecutionFailed
694694
})?;
695695

0 commit comments

Comments
 (0)