diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-11-22 19:48:17 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-11-29 11:53:55 +0100 |
commit | de63b2d073e92d0618ea7af3ecf2881252a31aed (patch) | |
tree | 77026ed476b1f09167d22977dc668823d48af418 /net/src/wkd.rs | |
parent | 192460a201a631a03e8e5a00469343fbe73fb437 (diff) |
Drop unnecessary lifetime annotations.
- Continuation of e6a335b93a10620bcb7cbfa32e232949758f0c99.
Diffstat (limited to 'net/src/wkd.rs')
-rw-r--r-- | net/src/wkd.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/src/wkd.rs b/net/src/wkd.rs index e563a168..5b2a1deb 100644 --- a/net/src/wkd.rs +++ b/net/src/wkd.rs @@ -234,11 +234,11 @@ fn parse_body<S: AsRef<str>>(body: &[u8], email_address: S) } } -fn get_following_redirects<'a, T>( - client: &'a hyper::client::Client<T>, +fn get_following_redirects<T>( + client: &hyper::client::Client<T>, url: Uri, depth: i32, -) -> BoxFuture<'a, Result<Response<Body>>> +) -> BoxFuture<Result<Response<Body>>> where T: hyper::client::connect::Connect + Clone + Send + Sync + 'static, { |