Skip to content

Commit

Permalink
Fix epoch being under flag
Browse files Browse the repository at this point in the history
  • Loading branch information
connorslade committed Sep 4, 2023
1 parent 633ddfd commit 07c27ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/internal/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ pub(crate) fn any_string(any: Box<dyn std::any::Any + Send>) -> Cow<'static, str

/// Get the current time since the Unix Epoch.
/// Will panic if the system time is before the Unix Epoch.
#[cfg(feature = "extensions")]
pub(crate) fn epoch() -> std::time::Duration {
use std::time::{SystemTime, UNIX_EPOCH};

Expand Down

0 comments on commit 07c27ae

Please sign in to comment.