We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5035c10 commit 9102886Copy full SHA for 9102886
src/regex_manager.rs
@@ -15,7 +15,7 @@ use std::time::Duration;
15
16
#[cfg(test)]
17
#[cfg(not(target_arch = "wasm32"))]
18
-use mock_instant::global::Instant;
+use mock_instant::thread_local::Instant;
19
#[cfg(not(test))]
20
21
use std::time::Instant;
tests/unit/regex_manager.rs
@@ -4,7 +4,7 @@ mod tests {
4
5
use crate::{request, Engine};
6
7
- use mock_instant::global::MockClock;
+ use mock_instant::thread_local::MockClock;
8
9
fn make_engine(line: &str) -> Engine {
10
Engine::from_rules(vec![line], Default::default())
0 commit comments