Mutate API #442
Annotations
3 warnings
[clippy] src/proto/single/cmd.rs#L322:
src/proto/single/cmd.rs#L322
warning: variants `Discard` and `Clear` are never constructed
--> src/proto/single/cmd.rs:326:5
|
322 | pub(crate) enum MutationType {
| ------------ variants in this enum
...
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#L322:
src/proto/single/cmd.rs#L322
warning: variants `Discard` and `Clear` are never constructed
--> src/proto/single/cmd.rs:326:5
|
322 | pub(crate) enum MutationType {
| ------------ variants in this enum
...
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/mutation.rs#L70:
src/proto/single/mutation.rs#L70
warning: the following explicit lifetimes could be elided: 'a
--> src/proto/single/mutation.rs:70:6
|
70 | impl<'a> MutationFilter<'_> {
| ^^
71 | /// Creates a new builder for a [`MutationFilter`]
72 | pub fn builder() -> MutationFilterBuilder<'a> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
70 ~ impl MutationFilter<'_> {
71 | /// Creates a new builder for a [`MutationFilter`]
72 ~ pub fn builder() -> MutationFilterBuilder<'_> {
|
|