Skip to content

Commit b0e8dce

Browse files
committed
Fix infinite loop
1 parent 5598a53 commit b0e8dce

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/array_table.rs

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ use json_flat_parser::serializer::serialize_to_json_with_option;
1616

1717

1818
use crate::{ACTIVE_COLOR, ArrayResponse, concat_string, Window};
19-
use crate::compatibility::InstantWrapper;
2019
use crate::components::icon;
2120
use crate::components::popover::PopupMenu;
2221
use crate::fonts::{FILTER, THUMBTACK};

src/compatibility.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ macro_rules! log {
1515

1616
#[cfg(not(target_arch = "wasm32"))]
1717
pub fn now() -> std::time::Instant {
18-
crate::compatibility::now()
18+
Instant::now()
1919
}
2020
#[cfg(target_arch = "wasm32")]
2121
pub fn now() -> crate::compatibility::InstantWrapper {

0 commit comments

Comments
 (0)