Commit 8ee8722
committed
style: Remove explicit lifetimes
This solves clippy warnings like this:
```
error: the following explicit lifetimes could be elided: 'a
--> graphql_client_codegen/src/codegen/selection.rs:394:6
|
394 | impl<'a> ExpandedField<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-D clippy::needless-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
394 - impl<'a> ExpandedField<'a> {
394 + impl ExpandedField<'_> {
|
```1 parent 9b91a7f commit 8ee8722
File tree
2 files changed
+3
-3
lines changed- graphql_client_codegen/src
- codegen
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments