forked from mirror/reqwest-middleware
fix comment
parent
4cef7492ce
commit
87726e0a1a
|
@ -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>(
|
fn get_source_error_type<T: std::error::Error + 'static>(
|
||||||
err: &dyn std::error::Error,
|
err: &dyn std::error::Error,
|
||||||
) -> Option<&T> {
|
) -> Option<&T> {
|
||||||
|
|
Loading…
Reference in New Issue