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 60c1b91 commit a4631e3Copy full SHA for a4631e3
Cargo.toml
@@ -27,6 +27,9 @@ indexmap = { version = "1.1.0", optional = true }
27
smallvec = { version = "1.0.0", optional = true }
28
bytes = { version = "0.5", optional = true }
29
30
+[dev-dependencies]
31
+static_assertions = "1.1.0"
32
+
33
[features]
34
default = ["smallvec"]
35
indexed = ["indexmap"]
src/lib.rs
@@ -431,3 +431,10 @@ where
431
.with_meta(meta)
432
.construct()
433
}
434
435
436
+#[test]
437
+fn is_not_sync() {
438
+ extern crate static_assertions as sa;
439
+ sa::assert_not_impl_all!(ReadHandle<(), ()>: Send, Sync);
440
+}
0 commit comments