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 b1d2b8a commit 2378a68Copy full SHA for 2378a68
benches/mutex.rs
@@ -41,7 +41,7 @@ mod async_std {
41
}
42
43
44
- mod std {
+mod std {
45
extern crate test;
46
47
use std::sync::{Arc, Mutex};
@@ -80,13 +80,13 @@ mod async_std {
80
t.join().unwrap();
81
82
83
- }
+}
84
85
- mod parking_lot {
+mod parking_lot {
86
87
88
- use std::sync::Arc;
89
use parking_lot::Mutex;
+ use std::sync::Arc;
90
use std::thread;
91
use test::Bencher;
92
@@ -122,4 +122,4 @@ mod async_std {
122
123
124
125
0 commit comments