aboutsummaryrefslogtreecommitdiff
path: root/src/util/time.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/time.rs')
-rw-r--r--src/util/time.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/time.rs b/src/util/time.rs
index d9a9f72..b8a85e6 100644
--- a/src/util/time.rs
+++ b/src/util/time.rs
@@ -3,7 +3,7 @@ use std::thread;
use std::time::SystemTime;
pub fn seconds_since_unix_epoch() -> Result<u64> {
- Ok(seconds_since_unix_epoch_of(SystemTime::now())?)
+ seconds_since_unix_epoch_of(SystemTime::now())
}
pub fn seconds_since_unix_epoch_of(time: SystemTime) -> Result<u64> {