Skip to content

Mutate API

Mutate API #438

Triggered via pull request November 20, 2024 15:03
Status Success
Total duration 1m 53s
Artifacts

ent.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
[clippy] src/proto/single/cmd.rs#L322: src/proto/single/cmd.rs#L322
warning: variants `Requeue`, `Discard`, and `Clear` are never constructed --> src/proto/single/cmd.rs:325:5 | 322 | pub(crate) enum MutationType { | ------------ variants in this enum ... 325 | Requeue, | ^^^^^^^ 326 | Discard, | ^^^^^^^ 327 | Clear, | ^^^^^ | = note: `MutationType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] src/proto/single/cmd.rs#L331: src/proto/single/cmd.rs#L331
warning: struct `MutationAction` is never constructed --> src/proto/single/cmd.rs:331:19 | 331 | pub(crate) struct MutationAction<'a, J> { | ^^^^^^^^^^^^^^
[clippy] src/proto/single/cmd.rs#L322: src/proto/single/cmd.rs#L322
warning: variants `Requeue`, `Discard`, and `Clear` are never constructed --> src/proto/single/cmd.rs:325:5 | 322 | pub(crate) enum MutationType { | ------------ variants in this enum ... 325 | Requeue, | ^^^^^^^ 326 | Discard, | ^^^^^^^ 327 | Clear, | ^^^^^ | = note: `MutationType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
[clippy] src/proto/single/cmd.rs#L331: src/proto/single/cmd.rs#L331
warning: struct `MutationAction` is never constructed --> src/proto/single/cmd.rs:331:19 | 331 | pub(crate) struct MutationAction<'a, J> { | ^^^^^^^^^^^^^^
[clippy] src/proto/single/mutation.rs#L48: src/proto/single/mutation.rs#L48
warning: the following explicit lifetimes could be elided: 'a --> src/proto/single/mutation.rs:48:6 | 48 | impl<'a, J> MutationFilter<'_, J> | ^^ ... 53 | pub fn builder() -> MutationFilterBuilder<'a, J> { | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 48 ~ impl<J> MutationFilter<'_, J> 49 | where ... 52 | /// TODO 53 ~ pub fn builder() -> MutationFilterBuilder<'_, J> { |