From ff015daf2d502a39c884c93f64e2547155303041 Mon Sep 17 00:00:00 2001 From: Lewin Bormann Date: Sat, 22 Jun 2019 12:33:38 +0200 Subject: [PATCH] chore(fmt): Make rustfmt on Travis happy. --- src/authenticator_delegate.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/authenticator_delegate.rs b/src/authenticator_delegate.rs index df53017..fb19d38 100644 --- a/src/authenticator_delegate.rs +++ b/src/authenticator_delegate.rs @@ -57,7 +57,7 @@ pub enum PollError { /// Indicates that too many attempts failed. TimedOut, /// Other type of error. - Other(String) + Other(String), } impl fmt::Display for PollError { @@ -67,7 +67,7 @@ impl fmt::Display for PollError { PollError::Expired(ref date) => writeln!(f, "Authentication expired at {}", date), PollError::AccessDenied => "Access denied by user".fmt(f), PollError::TimedOut => "Timed out waiting for token".fmt(f), - PollError::Other(ref s) => format!("Unknown server error: {}", s).fmt(f) + PollError::Other(ref s) => format!("Unknown server error: {}", s).fmt(f), } } }