fix: elide lifetimes
All checks were successful
Test / build (map[name:stable]) (push) Successful in 2m37s
Test / build (map[name:nightly]) (push) Successful in 3m47s
Release Please / Release-plz (push) Successful in 9s

Closes kemitix/trello-to-deck#21
This commit is contained in:
Paul Campbell 2025-01-18 08:18:09 +00:00
parent a0bdb7a999
commit 6c6184ae49

View file

@ -23,7 +23,7 @@ pub(crate) struct TrelloClient<'ctx> {
ctx: &'ctx FullCtx,
}
impl<'ctx> TrelloClient<'ctx> {
impl TrelloClient<'_> {
fn url(&self, path: impl Into<String>) -> String {
let path = path.into();
assert!(path.starts_with("/"));
@ -117,7 +117,7 @@ impl<'ctx> TrelloClient<'ctx> {
}
}
impl<'ctx> TrelloClient<'ctx> {
impl TrelloClient<'_> {
// https://developer.atlassian.com/cloud/trello/rest/api-group-members/#api-members-id-boards-get
pub(crate) async fn boards(&self) -> APIResult<Vec<TrelloBoard>> {
self.request("/members/me/boards", |net, url| {