sealable-trie: add slightly optimised set_and_seal
method
#264
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
master.yml
on: pull_request
Miscellaneous checks
6m 22s
Rust tests
7m 30s
Rust Miri tests
10m 31s
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/
|