Skip to content

Merge pull request #162 from alan-turing-institute/94-cr-cli #10

Merge pull request #162 from alan-turing-institute/94-cr-cli

Merge pull request #162 from alan-turing-institute/94-cr-cli #10

Triggered via push October 7, 2024 15:24
Status Success
Total duration 28s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
writing `&PathBuf` instead of `&Path` involves a new object where a slice will do: trustchain-http/src/attestation_utils.rs#L214
warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do --> trustchain-http/src/attestation_utils.rs:214:44 | 214 | fn elementwise_deserialize(self, path: &PathBuf) -> Result<Option<Self>, TrustchainCRError> | ^^^^^^^^ help: change this to: `&Path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
writing `&PathBuf` instead of `&Path` involves a new object where a slice will do: trustchain-http/src/attestation_utils.rs#L200
warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do --> trustchain-http/src/attestation_utils.rs:200:43 | 200 | fn elementwise_serialize(&self, path: &PathBuf) -> Result<(), TrustchainCRError> { | ^^^^^^^^ help: change this to: `&Path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` on by default