Skip to content

Commit c356cf8

Browse files
clippy fix
Co-authored-by: Jonas Platte <[email protected]>
1 parent 639c58f commit c356cf8

File tree

1 file changed

+1
-1
lines changed
  • bridge/svix-bridge/src/webhook_receiver

1 file changed

+1
-1
lines changed

bridge/svix-bridge/src/webhook_receiver/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fn router() -> Router<InternalState> {
4040
.route("/health", get(health_handler))
4141
}
4242
static START_TIME: once_cell::sync::Lazy<std::time::Instant> =
43-
once_cell::sync::Lazy::new(|| std::time::Instant::now());
43+
once_cell::sync::Lazy::new(std::time::Instant::now);
4444

4545
fn get_uptime_seconds() -> u64 {
4646
START_TIME.elapsed().as_secs()

0 commit comments

Comments
 (0)