summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2025-03-18 10:09:58 +0100
committerLinus Färnstrand <linus@mullvad.net>2025-03-18 14:29:52 +0100
commitd076d814866ce33353031bdf61d5db3037984d64 (patch)
tree99a069bebd84deaf35279a1a85cc2d5d93f78b7e
parent17788b06fd5f7c85ac3596de05a03791d46d4858 (diff)
downloadmullvadvpn-d076d814866ce33353031bdf61d5db3037984d64.tar.xz
mullvadvpn-d076d814866ce33353031bdf61d5db3037984d64.zip
Make the clippy::implicit_clone lint trigger a warning
These seem to be reasonable lints that somewhat help clean up the code a bit.
-rw-r--r--Cargo.toml1
-rw-r--r--test/Cargo.toml1
2 files changed, 2 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 1ce482a632..4a10fcdb23 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -78,6 +78,7 @@ single_use_lifetimes = "warn"
[workspace.lints.clippy]
unused_async = "deny"
undocumented_unsafe_blocks = "warn"
+implicit_clone = "warn"
[workspace.dependencies]
hickory-proto = "0.24.3"
diff --git a/test/Cargo.toml b/test/Cargo.toml
index 09c26ae1a7..c346316df8 100644
--- a/test/Cargo.toml
+++ b/test/Cargo.toml
@@ -34,6 +34,7 @@ single_use_lifetimes = "warn"
[workspace.lints.clippy]
unused_async = "deny"
+implicit_clone = "warn"
[workspace.dependencies]
futures = "0.3"