cargo fmt

This commit is contained in:
Michael Pfaff 2022-03-06 12:28:06 -05:00
parent b8bfb31818
commit 57c95464c7
Signed by: michael
GPG Key ID: F1A27427218FCA77
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ extern "C" {
pub fn now_utc() -> OffsetDateTime {
#[cfg(target_arch = "wasm32")]
return OffsetDateTime::from_unix_timestamp_nanos((unix_millis_now() * 1_000_000f64) as i128).expect("time outside supported range");
return OffsetDateTime::from_unix_timestamp_nanos((unix_millis_now() * 1_000_000f64) as i128)
.expect("time outside supported range");
#[cfg(not(target_arch = "wasm32"))]
return OffsetDateTime::now_utc();
}