diff --git a/reqwest-retry/src/retryable_strategy.rs b/reqwest-retry/src/retryable_strategy.rs index 8a790c4..efaff99 100644 --- a/reqwest-retry/src/retryable_strategy.rs +++ b/reqwest-retry/src/retryable_strategy.rs @@ -41,7 +41,7 @@ use reqwest_middleware::Error; /// // Just a toy example, retry when the successful response code is 201, else do nothing. /// struct Retry201; /// impl RetryableStrategy for Retry201 { -/// fn handle(&self, res: &Result) -> Option { +/// fn handle(&self, res: &Result) -> Option { /// match res { /// // retry if 201 /// Ok(success) if success.status() == 201 => Some(Retryable::Transient),