mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 01:41:03 +00:00
fixes for nightly clippy (#1618)
This commit is contained in:
committed by
Bastian Köcher
parent
9592b55fea
commit
f58e076ca2
@@ -79,7 +79,7 @@ impl std::str::FromStr for ConversionRateOverride {
|
||||
|
||||
f64::from_str(s)
|
||||
.map(ConversionRateOverride::Explicit)
|
||||
.map_err(|e| format!("Failed to parse '{:?}'. Expected 'metric' or explicit value", e))
|
||||
.map_err(|e| format!("Failed to parse '{e:?}'. Expected 'metric' or explicit value"))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ where
|
||||
.await?;
|
||||
|
||||
log::info!(target: "bridge", "Fee: {:?}", Balance(fee.into()));
|
||||
println!("{}", fee);
|
||||
println!("{fee}");
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user