We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 848fa66 commit 1b21f7dCopy full SHA for 1b21f7d
dash-spv/clippy.toml
@@ -1 +1,4 @@
1
-disallowed-types = ["std::sync::RwLock", "std::sync::Mutex"]
+disallowed-types = [
2
+ { path = "std::sync::RwLock", reason = "This struct is blocking and can be poisoned", replacement = "tokio::sync::RwLock" },
3
+ { path = "std::sync::Mutex", reason = "This struct is blocking and can be poisoned", replacement = "tokio::sync::Mutex" },
4
+]
0 commit comments