diff options
Diffstat (limited to 'indieauth/src/lib.rs')
-rw-r--r-- | indieauth/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indieauth/src/lib.rs b/indieauth/src/lib.rs index a60cc42..9841b53 100644 --- a/indieauth/src/lib.rs +++ b/indieauth/src/lib.rs @@ -517,7 +517,7 @@ impl TokenData { /// Check if the token in question expired. pub fn expired(&self) -> bool { use std::time::{Duration, SystemTime, UNIX_EPOCH}; - + self.exp .map(|exp| SystemTime::now() .duration_since(UNIX_EPOCH) |