fixes for nightly clippy (#1618)

This commit is contained in:
Svyatoslav Nikolsky
2022-10-28 11:46:40 +03:00
committed by Bastian Köcher
parent 9592b55fea
commit f58e076ca2
22 changed files with 45 additions and 45 deletions
@@ -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(())
}
}