From e80963ef94505755de822bd8ceb99704fdd98a2e Mon Sep 17 00:00:00 2001 From: konstin Date: Wed, 27 Aug 2025 17:04:53 +0200 Subject: [PATCH] Fix clippy lints --- reqwest-retry/tests/all/helpers/simple_server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reqwest-retry/tests/all/helpers/simple_server.rs b/reqwest-retry/tests/all/helpers/simple_server.rs index 205aaff..da6d249 100644 --- a/reqwest-retry/tests/all/helpers/simple_server.rs +++ b/reqwest-retry/tests/all/helpers/simple_server.rs @@ -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> { + fn parse_request_line(request: &str) -> Result, Box> { let mut parts = request.split_whitespace(); let method = parts.next().ok_or("Method not specified")?;