fix clippy needless lifetimes (#769)

+ ignore them for bevy where we often want explicitness
This commit is contained in:
Thierry Berger
2024-12-05 15:55:12 +01:00
committed by GitHub
parent bce786831c
commit 93bd37d814
14 changed files with 38 additions and 26 deletions

View File

@@ -41,6 +41,9 @@ unstable-puffin-pr-235 = []
[package.metadata.docs.rs]
features = ["parallel", "profiling"]
[lints.clippy]
needless_lifetimes = "allow"
[dependencies]
nalgebra = { version = "0.33", features = ["rand", "glam027"] }
rand = "0.8"

View File

@@ -41,6 +41,9 @@ unstable-puffin-pr-235 = []
[package.metadata.docs.rs]
features = ["parallel", "other-backends", "profiling"]
[lints.clippy]
needless_lifetimes = "allow"
[dependencies]
nalgebra = { version = "0.33", features = ["rand", "glam027"] }
rand = "0.8"

View File

@@ -43,6 +43,9 @@ unstable-puffin-pr-235 = []
[package.metadata.docs.rs]
features = ["parallel", "profiling"]
[lints.clippy]
needless_lifetimes = "allow"
[dependencies]
nalgebra = { version = "0.33", features = ["rand", "glam027"] }
rand = "0.8"

View File

@@ -41,6 +41,9 @@ unstable-puffin-pr-235 = []
[package.metadata.docs.rs]
features = ["parallel", "other-backends", "profiling"]
[lints.clippy]
needless_lifetimes = "allow"
[dependencies]
nalgebra = { version = "0.33", features = ["rand", "glam027"] }
rand = "0.8"