From 87726e0a1ada49cd2511ccee41036bbd17e3eec1 Mon Sep 17 00:00:00 2001 From: Alessandro Caprarelli Date: Wed, 13 Oct 2021 17:16:04 +0200 Subject: [PATCH] fix comment --- reqwest-retry/src/retryable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reqwest-retry/src/retryable.rs b/reqwest-retry/src/retryable.rs index f5ef488..d6e4cae 100644 --- a/reqwest-retry/src/retryable.rs +++ b/reqwest-retry/src/retryable.rs @@ -81,7 +81,7 @@ impl From<&reqwest::Error> for Retryable { } } -/// Downcasts the given [`err`] source into [`T`]. +/// Downcasts the given err source into T. fn get_source_error_type( err: &dyn std::error::Error, ) -> Option<&T> {