From 8e693a39cd91c8650dac937dbd75b75a5e01f4e6 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Sun, 18 Oct 2020 23:00:49 -0700 Subject: mastodon_client: Remove needless lifetime See https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes Should fix the CI --- src/mastodon_client.rs | 4 ++-- 1 file 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 { + fn search(&self, q: &str, resolve: bool) -> Result { unimplemented!("This method was not implemented"); } /// GET /api/v2/search - fn search_v2<'a>(&self, q: &'a str, resolve: bool) -> Result { + fn search_v2(&self, q: &str, resolve: bool) -> Result { unimplemented!("This method was not implemented"); } /// POST /api/v1/follows -- cgit v1.2.3