aboutsummaryrefslogtreecommitdiff
path: root/src/entity_iterator.rs
diff options
context:
space:
mode:
authorCharlotte Pabst <charlotte.pabst@stud.tu-darmstadt.de>2024-03-24 16:52:24 +0100
committerCharlotte Pabst <charlotte.pabst@stud.tu-darmstadt.de>2024-03-24 17:20:07 +0100
commit68a72735be76a8782e03c986849da47cd2601f13 (patch)
treecb769c9b1af24880d9775a99f089760ae3b56c7b /src/entity_iterator.rs
parentf552c45b5f08c4cf7af9dda1f4251d130b38ab15 (diff)
downloaddcel-68a72735be76a8782e03c986849da47cd2601f13.tar.xz
cleanup
Diffstat (limited to 'src/entity_iterator.rs')
-rw-r--r--src/entity_iterator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity_iterator.rs b/src/entity_iterator.rs
index 58cd2a9..2e8c906 100644
--- a/src/entity_iterator.rs
+++ b/src/entity_iterator.rs
@@ -4,7 +4,7 @@ pub struct EntityIterator<'tok, 'brand, 'arena, T>(Option<(lens_t!(T), lens_t!(T
impl<'tok, 'brand, 'arena, T> Clone for EntityIterator<'tok, 'brand, 'arena, T> {
fn clone(&self) -> Self {
- Self(self.0)
+ *self
}
}