Apply some clippy lints (#11154)
* Apply some clippy hints * Revert clippy ci changes * Update client/cli/src/commands/generate.rs Co-authored-by:Bastian Köcher <bkchr@users.noreply.github.com> * Update client/cli/src/commands/inspect_key.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/db/src/bench.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/db/src/bench.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/service/src/client/block_rules.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/service/src/client/block_rules.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/network/src/transactions.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/network/src/protocol.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Revert due to missing `or_default` function. * Fix compilation and simplify code * Undo change that corrupts benchmark. * fix clippy * Update client/service/test/src/lib.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/state-db/src/noncanonical.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update client/state-db/src/noncanonical.rs remove leftovers! * Update client/tracing/src/logging/directives.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update utils/fork-tree/src/lib.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * added needed ref * Update frame/referenda/src/benchmarking.rs * Simplify byte-vec creation * let's just not overlap the ranges * Correction * cargo fmt * Update utils/frame/benchmarking-cli/src/shared/stats.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update utils/frame/benchmarking-cli/src/pallet/command.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update utils/frame/benchmarking-cli/src/pallet/command.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
Giles Cope <gilescope@gmail.com>
parent
a990473c
Showing
- substrate/bin/node-template/node/src/rpc.rs 1 addition, 1 deletionsubstrate/bin/node-template/node/src/rpc.rs
- substrate/bin/node-template/node/src/service.rs 2 additions, 2 deletionssubstrate/bin/node-template/node/src/service.rs
- substrate/bin/node-template/pallets/template/src/lib.rs 1 addition, 1 deletionsubstrate/bin/node-template/pallets/template/src/lib.rs
- substrate/bin/node-template/runtime/src/lib.rs 1 addition, 1 deletionsubstrate/bin/node-template/runtime/src/lib.rs
- substrate/bin/node/bench/src/core.rs 1 addition, 1 deletionsubstrate/bin/node/bench/src/core.rs
- substrate/bin/node/bench/src/main.rs 9 additions, 20 deletionssubstrate/bin/node/bench/src/main.rs
- substrate/bin/node/bench/src/state_sizes.rs 1 addition, 1 deletionsubstrate/bin/node/bench/src/state_sizes.rs
- substrate/bin/node/bench/src/trie.rs 1 addition, 1 deletionsubstrate/bin/node/bench/src/trie.rs
- substrate/bin/node/cli/src/service.rs 3 additions, 3 deletionssubstrate/bin/node/cli/src/service.rs
- substrate/bin/node/runtime/src/lib.rs 3 additions, 3 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/bin/node/testing/src/bench.rs 8 additions, 11 deletionssubstrate/bin/node/testing/src/bench.rs
- substrate/bin/utils/chain-spec-builder/src/main.rs 1 addition, 1 deletionsubstrate/bin/utils/chain-spec-builder/src/main.rs
- substrate/client/allocator/src/freeing_bump.rs 1 addition, 1 deletionsubstrate/client/allocator/src/freeing_bump.rs
- substrate/client/api/src/backend.rs 1 addition, 1 deletionsubstrate/client/api/src/backend.rs
- substrate/client/api/src/execution_extensions.rs 1 addition, 1 deletionsubstrate/client/api/src/execution_extensions.rs
- substrate/client/api/src/in_mem.rs 13 additions, 21 deletionssubstrate/client/api/src/in_mem.rs
- substrate/client/api/src/lib.rs 3 additions, 3 deletionssubstrate/client/api/src/lib.rs
- substrate/client/api/src/notifications.rs 3 additions, 4 deletionssubstrate/client/api/src/notifications.rs
- substrate/client/api/src/notifications/registry.rs 7 additions, 7 deletionssubstrate/client/api/src/notifications/registry.rs
- substrate/client/authority-discovery/src/worker.rs 3 additions, 3 deletionssubstrate/client/authority-discovery/src/worker.rs
Please register or sign in to comment