summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2022-04-12 12:05:35 +0200
committerDavid Lönnhager <david.l@mullvad.net>2022-04-12 12:05:40 +0200
commit887c281f4fe9de350895945d22102aa1999eeab7 (patch)
treea096604370c062f406e056f090ec0b276f08ac63
parentcfaf5bed07ce7a61093fdd29e77c421a03ad4f5b (diff)
downloadmullvadvpn-887c281f4fe9de350895945d22102aa1999eeab7.tar.xz
mullvadvpn-887c281f4fe9de350895945d22102aa1999eeab7.zip
Use underscore notation for gigantic number
-rw-r--r--talpid-time/src/unix.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-time/src/unix.rs b/talpid-time/src/unix.rs
index 2360de818d..643a7049aa 100644
--- a/talpid-time/src/unix.rs
+++ b/talpid-time/src/unix.rs
@@ -1,7 +1,7 @@
use libc::{c_long, clock_gettime, clockid_t, timespec};
use std::{mem::MaybeUninit, time::Duration};
-const NSEC_PER_SEC: c_long = 1000000000;
+const NSEC_PER_SEC: c_long = 1_000_000_000;
#[cfg(target_os = "macos")]
const CLOCK_ID: clockid_t = libc::CLOCK_MONOTONIC;