cargo clippy fixes

This commit is contained in:
Glenn Griffin
2019-11-08 15:49:07 -08:00
parent 4bd81c3263
commit 8489f470a4
7 changed files with 38 additions and 45 deletions

View File

@@ -95,7 +95,7 @@ pub trait AuthenticatorDelegate: Clone + Send + Sync {
/// Called if we could not acquire a refresh token for a reason possibly specified
/// by the server.
/// This call is made for the delegate's information only.
fn token_refresh_failed<S: AsRef<str>>(&self, error: S, error_description: &Option<String>) {
fn token_refresh_failed(&self, error: &str, error_description: Option<&str>) {
{
let _ = error;
}