chore(syntax): Use dyn everywhere to prepare for deprecation.

This commit is contained in:
Lewin Bormann
2019-06-11 23:49:41 +02:00
parent 48c3c2cced
commit 56e2edd4fd
5 changed files with 25 additions and 21 deletions

View File

@@ -77,7 +77,7 @@ pub trait AuthenticatorDelegate {
/// This can be useful if the underlying `TokenStorage` may fail occasionally.
/// if `is_set` is true, the failure resulted from `TokenStorage.set(...)`. Otherwise,
/// it was `TokenStorage.get(...)`
fn token_storage_failure(&mut self, is_set: bool, _: &Error) -> Retry {
fn token_storage_failure(&mut self, is_set: bool, _: &dyn Error) -> Retry {
let _ = is_set;
Retry::Abort
}