Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reqwest-retry/tests/all/helpers/simple_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl SimpleServer {

/// Parses the request line and checks that it contains the method, uri and http_version parts.
/// It does not check if the content of the checked parts is correct. It just checks the format (it contains enough parts) of the request.
fn parse_request_line(request: &str) -> Result<Request, Box<dyn Error>> {
fn parse_request_line(request: &str) -> Result<Request<'_>, Box<dyn Error>> {
let mut parts = request.split_whitespace();

let method = parts.next().ok_or("Method not specified")?;
Expand Down
Loading