Skip to content

Commit 8f17eab

Browse files
committed
1 parent c24db5c commit 8f17eab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bus"
3-
version = "2.2.0"
3+
version = "2.2.1"
44
authors = ["Jon Gjengset <[email protected]>"]
55
edition = "2018"
66
license = "MIT"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ impl<T> Bus<T> {
305305
});
306306

307307
// work around https://github.com/rust-lang/rust/issues/59020
308-
let _ = time::Instant::now();
308+
let _ = time::Instant::now().elapsed();
309309

310310
// we run a separate thread responsible for unparking
311311
// so we don't have to wait for unpark() to return in broadcast_inner

0 commit comments

Comments
 (0)