fix comment

This commit is contained in:
Alessandro Caprarelli 2021-10-13 17:16:04 +02:00
parent 4cef7492ce
commit 87726e0a1a

View file

@ -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<T: std::error::Error + 'static>(
err: &dyn std::error::Error,
) -> Option<&T> {