From 68a72735be76a8782e03c986849da47cd2601f13 Mon Sep 17 00:00:00 2001 From: Charlotte Pabst Date: Sun, 24 Mar 2024 16:52:24 +0100 Subject: cleanup --- src/entity_iterator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/entity_iterator.rs') 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 } } -- cgit v1.2.3