aboutsummaryrefslogtreecommitdiff
path: root/examples2d
diff options
context:
space:
mode:
authorThierry Berger <contact@thierryberger.com>2024-12-05 15:55:12 +0100
committerGitHub <noreply@github.com>2024-12-05 15:55:12 +0100
commit93bd37d814d0156126bdb48697396ff7ab4b6157 (patch)
tree217de5302018b913a065c5164a23b5f1a15ef1cf /examples2d
parentbce786831c56766fbb7971828928d973dae8ed3e (diff)
downloadrapier-93bd37d814d0156126bdb48697396ff7ab4b6157.tar.gz
rapier-93bd37d814d0156126bdb48697396ff7ab4b6157.tar.bz2
rapier-93bd37d814d0156126bdb48697396ff7ab4b6157.zip
fix clippy needless lifetimes (#769)
+ ignore them for bevy where we often want explicitness
Diffstat (limited to 'examples2d')
-rw-r--r--examples2d/trimesh2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples2d/trimesh2.rs b/examples2d/trimesh2.rs
index a295db5..a57c0fe 100644
--- a/examples2d/trimesh2.rs
+++ b/examples2d/trimesh2.rs
@@ -143,7 +143,7 @@ pub struct PathConvIter<'a> {
deferred: Option<PathEvent>,
}
-impl<'l> Iterator for PathConvIter<'l> {
+impl Iterator for PathConvIter<'_> {
type Item = PathEvent;
fn next(&mut self) -> Option<PathEvent> {
if self.deferred.is_some() {