Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutate API #87

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Job Failure (#89)

206e5f7
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Mutate API #87

Job Failure (#89)
206e5f7
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Dec 31, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (5)

src/proto/client/mutation.rs|42 col 33| warning: this lifetime isn't used in the function definition
--> src/proto/client/mutation.rs:42:33
|
42 | pub async fn requeue_by_ids<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: #[warn(clippy::extra_unused_lifetimes)] on by default
src/proto/client/mutation.rs|87 col 33| warning: this lifetime isn't used in the function definition
--> src/proto/client/mutation.rs:87:33
|
87 | pub async fn discard_by_ids<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
src/proto/client/mutation.rs|133 col 30| warning: this lifetime isn't used in the function definition
--> src/proto/client/mutation.rs:133:30
|
133 | pub async fn kill_by_ids<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
src/proto/client/mutation.rs|167 col 21| warning: this lifetime isn't used in the function definition
--> src/proto/client/mutation.rs:167:21
|
167 | async fn mutate<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
src/proto/single/mutation.rs|80 col 6| warning: the following explicit lifetimes could be elided: 'a
--> src/proto/single/mutation.rs:80:6
|
80 | impl<'a> MutationFilter<'> {
| ^^
...
94 | 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
|
80 ~ impl MutationFilter<'
> {
81 | /// Creates an empty filter.
...
93 | /// Creates a new builder for a [MutationFilter].
94 ~ pub fn builder() -> MutationFilterBuilder<'_> {
|

Filtered Findings (0)

Annotations

Check warning on line 42 in src/proto/client/mutation.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] src/proto/client/mutation.rs#L42

warning: this lifetime isn't used in the function definition
  --> src/proto/client/mutation.rs:42:33
   |
42 |     pub async fn requeue_by_ids<'a>(
   |                                 ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
   = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
Raw output
src/proto/client/mutation.rs:42:33:w:warning: this lifetime isn't used in the function definition
  --> src/proto/client/mutation.rs:42:33
   |
42 |     pub async fn requeue_by_ids<'a>(
   |                                 ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
   = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default


__END__

Check warning on line 87 in src/proto/client/mutation.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] src/proto/client/mutation.rs#L87

warning: this lifetime isn't used in the function definition
  --> src/proto/client/mutation.rs:87:33
   |
87 |     pub async fn discard_by_ids<'a>(
   |                                 ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Raw output
src/proto/client/mutation.rs:87:33:w:warning: this lifetime isn't used in the function definition
  --> src/proto/client/mutation.rs:87:33
   |
87 |     pub async fn discard_by_ids<'a>(
   |                                 ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes


__END__

Check warning on line 133 in src/proto/client/mutation.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] src/proto/client/mutation.rs#L133

warning: this lifetime isn't used in the function definition
   --> src/proto/client/mutation.rs:133:30
    |
133 |     pub async fn kill_by_ids<'a>(
    |                              ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Raw output
src/proto/client/mutation.rs:133:30:w:warning: this lifetime isn't used in the function definition
   --> src/proto/client/mutation.rs:133:30
    |
133 |     pub async fn kill_by_ids<'a>(
    |                              ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes


__END__

Check warning on line 167 in src/proto/client/mutation.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] src/proto/client/mutation.rs#L167

warning: this lifetime isn't used in the function definition
   --> src/proto/client/mutation.rs:167:21
    |
167 |     async fn mutate<'a>(
    |                     ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Raw output
src/proto/client/mutation.rs:167:21:w:warning: this lifetime isn't used in the function definition
   --> src/proto/client/mutation.rs:167:21
    |
167 |     async fn mutate<'a>(
    |                     ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes


__END__

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

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] src/proto/single/mutation.rs#L80

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


__END__