mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-27 03:16:32 +00:00
fix comment
This commit is contained in:
parent
4cef7492ce
commit
87726e0a1a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue