Skip to content

sealable-trie: add slightly optimised set_and_seal method #264

sealable-trie: add slightly optimised set_and_seal method

sealable-trie: add slightly optimised set_and_seal method #264

Triggered via pull request November 1, 2023 13:03
@mina86mina86
opened #71
mpn/d
Status Failure
Total duration 10m 41s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

master.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
using `clone` on type `Slice<'_>` which implements the `Copy` trait: common/sealable-trie/src/trie.rs#L311
error: using `clone` on type `Slice<'_>` which implements the `Copy` trait --> common/sealable-trie/src/trie.rs:311:23 | 311 | self.set_impl(key.clone(), value_hash)?; | ^^^^^^^^^^^ help: try removing the `clone` call: `key` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `-D clippy::clone-on-copy` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::clone_on_copy)]`
Miscellaneous checks
Clippy had exited with the 101 exit code
Miscellaneous checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/