mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 02:21:14 +00:00
Relaxed clippy fixes/nits (#2661)
This PR contains just a few clippy fixes and nits, which are, however, relaxed by workspace clippy settings here: https://github.com/paritytech/polkadot-sdk/blob/master/Cargo.toml#L483-L506 --------- Co-authored-by: Dmitry Sinyavin <dmitry.sinyavin@parity.io> Co-authored-by: ordian <write@reusable.software> Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -219,7 +219,7 @@ where
|
||||
"Failed to transfer the base deposit, reason: {:?}",
|
||||
err
|
||||
);
|
||||
OldCurrency::deposit_creating(&deposit_account, min_balance);
|
||||
let _ = OldCurrency::deposit_creating(&deposit_account, min_balance);
|
||||
min_balance
|
||||
});
|
||||
|
||||
|
||||
@@ -25,13 +25,15 @@ mod runtime;
|
||||
pub use crate::wasm::runtime::api_doc;
|
||||
|
||||
pub use crate::wasm::runtime::{
|
||||
AllowDeprecatedInterface, AllowUnstableInterface, Environment, ReturnErrorCode, Runtime,
|
||||
RuntimeCosts,
|
||||
AllowDeprecatedInterface, AllowUnstableInterface, Environment, Runtime, RuntimeCosts,
|
||||
};
|
||||
pub use pallet_contracts_uapi::ReturnFlags;
|
||||
|
||||
#[cfg(test)]
|
||||
pub use tests::MockExt;
|
||||
|
||||
#[cfg(test)]
|
||||
pub use crate::wasm::runtime::ReturnErrorCode;
|
||||
|
||||
use crate::{
|
||||
exec::{ExecResult, Executable, ExportedFunction, Ext},
|
||||
gas::{GasMeter, Token},
|
||||
|
||||
Reference in New Issue
Block a user