Skip to content

Mutate API

Mutate API #1294

GitHub Actions / clippy failed Nov 22, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

src/proto/single/mutation.rs|70 col 6| warning: the following explicit lifetimes could be elided: 'a
--> src/proto/single/mutation.rs:70:6
|
70 | impl<'a> MutationFilter<'> {
| ^^
...
84 | 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 an empty filter.
...
83 | /// Creates a new builder for a [MutationFilter]
84 ~ pub fn builder() -> MutationFilterBuilder<'_> {
|

Filtered Findings (0)

Annotations

Check warning on line 70 in src/proto/single/mutation.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] 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<'_> {
   |      ^^
...
84 |     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 an empty filter.
...
83 |     /// Creates a new builder for a [`MutationFilter`]
84 ~     pub fn builder() -> MutationFilterBuilder<'_> {
   |
Raw output
src/proto/single/mutation.rs:70:6:w:warning: the following explicit lifetimes could be elided: 'a
  --> src/proto/single/mutation.rs:70:6
   |
70 | impl<'a> MutationFilter<'_> {
   |      ^^
...
84 |     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 an empty filter.
...
83 |     /// Creates a new builder for a [`MutationFilter`]
84 ~     pub fn builder() -> MutationFilterBuilder<'_> {
   |


__END__