diff options
| author | Zeyla Hellyer <[email protected]> | 2018-08-04 21:33:49 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-08-04 21:33:49 -0700 |
| commit | 4648f58e8ddc878d06a5a4a1d2840180c359ddf0 (patch) | |
| tree | 448bbe5379ed96f78c1e0ef03837e62ce3fe1e1b /src/http | |
| parent | Redo how requests are formed in HTTP module (diff) | |
| download | serenity-4648f58e8ddc878d06a5a4a1d2840180c359ddf0.tar.xz serenity-4648f58e8ddc878d06a5a4a1d2840180c359ddf0.zip | |
Remove an unnecessary lifetime on fn signature
Diffstat (limited to 'src/http')
| -rw-r--r-- | src/http/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/mod.rs b/src/http/mod.rs index 9151cfd..1632dc7 100644 --- a/src/http/mod.rs +++ b/src/http/mod.rs @@ -2029,7 +2029,7 @@ fn build_req(req: &Request) -> RequestBuilder { builder } -fn retry<'a>(req: &Request) -> HyperResult<HyperResponse> { +fn retry(req: &Request) -> HyperResult<HyperResponse> { // Retry the request twice in a loop until it succeeds. // // If it doesn't and the loop breaks, try one last time. |