diff options
author | Christopher Davis <brainblasted@disroot.org> | 2020-10-18 23:00:49 -0700 |
---|---|---|
committer | Paul Woolcock <paul@woolcock.us> | 2021-05-19 15:55:40 -0400 |
commit | 8e693a39cd91c8650dac937dbd75b75a5e01f4e6 (patch) | |
tree | f06614bc375bdc921050268d8aeb2da310914eeb | |
parent | f09816b548d5e2bec27bace7a57253dc5e7ebd6b (diff) |
mastodon_client: Remove needless lifetime
See https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
Should fix the CI
-rw-r--r-- | src/mastodon_client.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mastodon_client.rs b/src/mastodon_client.rs index f517608..8fad5ca 100644 --- a/src/mastodon_client.rs +++ b/src/mastodon_client.rs @@ -104,11 +104,11 @@ pub trait MastodonClient { unimplemented!("This method was not implemented"); } /// GET /api/v1/search - fn search<'a>(&self, q: &'a str, resolve: bool) -> Result<SearchResult> { + fn search(&self, q: &str, resolve: bool) -> Result<SearchResult> { unimplemented!("This method was not implemented"); } /// GET /api/v2/search - fn search_v2<'a>(&self, q: &'a str, resolve: bool) -> Result<SearchResultV2> { + fn search_v2(&self, q: &str, resolve: bool) -> Result<SearchResultV2> { unimplemented!("This method was not implemented"); } /// POST /api/v1/follows |