Skip to content

Commit

Permalink
Remove an unnecessary lifetime on fn signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyla Hellyer committed Aug 5, 2018
1 parent a0b0dd2 commit 4648f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4648f58

Please sign in to comment.