From 7bc2b3310cf8ad3769f2d311ddb17dadf1153a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 12 Nov 2023 15:40:51 +0100 Subject: [PATCH] Reformat a long line --- acmed/src/certificate.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/acmed/src/certificate.rs b/acmed/src/certificate.rs index 7e3ef03..ed2ca13 100644 --- a/acmed/src/certificate.rs +++ b/acmed/src/certificate.rs @@ -81,7 +81,8 @@ impl Certificate { )); let expires_in = expires_in.saturating_sub(self.renew_delay); let expires_in = if !self.random_early_renew.is_zero() { - expires_in.saturating_sub(thread_rng().gen_range(Duration::ZERO..self.random_early_renew)) + expires_in + .saturating_sub(thread_rng().gen_range(Duration::ZERO..self.random_early_renew)) } else { expires_in };