Mutate API #87
Mutate API #87
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
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
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
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
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
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__