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 c24db5c commit 8f17eabCopy full SHA for 8f17eab
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "bus"
3
-version = "2.2.0"
+version = "2.2.1"
4
authors = ["Jon Gjengset <[email protected]>"]
5
edition = "2018"
6
license = "MIT"
src/lib.rs
@@ -305,7 +305,7 @@ impl<T> Bus<T> {
305
});
306
307
// work around https://github.com/rust-lang/rust/issues/59020
308
- let _ = time::Instant::now();
+ let _ = time::Instant::now().elapsed();
309
310
// we run a separate thread responsible for unparking
311
// so we don't have to wait for unpark() to return in broadcast_inner
0 commit comments