diff options
author | Vika <vika@fireburn.ru> | 2024-01-29 07:08:21 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-01-29 07:08:21 +0300 |
commit | d36014200549cf73a7f22c6f94fb15bec17823e8 (patch) | |
tree | 6e56f912219c5d20e2768b1f016f23fff22fe83e /indieauth/src/lib.rs | |
parent | ed51d48f7353a5ceefa798ded52d3af465d4d0ec (diff) | |
download | kittybox-d36014200549cf73a7f22c6f94fb15bec17823e8.tar.zst |
lint: no extra whitespace on line endings
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) |