Fix clippy issues #21
kemitix
commented 2025-01-17 21:33:39 +00:00
Owner
```
warning: the following explicit lifetimes could be elided: 'ctx
--> src/trello/client.rs:26:6
|
26 | impl<'ctx> TrelloClient<'ctx> {
| ^^^^ ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
26 - impl<'ctx> TrelloClient<'ctx> {
26 + impl TrelloClient<'_> {
|
warning: the following explicit lifetimes could be elided: 'ctx
--> src/trello/client.rs:120:6
|
120 | impl<'ctx> TrelloClient<'ctx> {
| ^^^^ ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
120 - impl<'ctx> TrelloClient<'ctx> {
120 + impl TrelloClient<'_> {
|
warning: `trello-to-deck` (lib) generated 2 warnings (run `cargo clippy --fix --lib -p trello-to-deck` to apply 2 suggestions)
```
kemitix
referenced this issue from a commit 2025-01-18 08:33:58 +00:00
fix: elide lifetimes
kemitix
closed this issue 2025-01-18 08:37:57 +00:00
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: kemitix/trello-to-deck#21
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?