Skip to content

Commit 1126f2b

Browse files
committed
Add gloo-timers to dev-deps to compile example
1 parent fe6c6bc commit 1126f2b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

crates/console-timer/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ features = [
1111
]
1212

1313
[dev-dependencies]
14-
wasm-bindgen-test = "0.2.37"
14+
wasm-bindgen-test = "0.2.37"
15+
gloo-timers = { version = "0.1.0", path = "../timers" }

crates/console-timer/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ For scenarios where `ConsoleTimer::scope` can't be used, like with
3232
asynchronous operations, you can use `ConsoleTimer::new` to create a timer.
3333
The measurement ends when the timer object goes out of scope / is dropped.
3434
35-
```ignore
35+
```no_run
3636
use gloo_console_timer::ConsoleTimer;
3737
use gloo_timers::Timeout;
3838

0 commit comments

Comments
 (0)