diff options
Diffstat (limited to 'src/entity_iterator.rs')
-rw-r--r-- | src/entity_iterator.rs | 2 |
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 } } |