types: fix new clippy lint

This commit is contained in:
Matthias Schiffer 2024-03-03 23:48:49 +01:00
parent bccd6d6cb4
commit 44e914599b
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

View file

@ -47,8 +47,7 @@ macro_rules! coord_type {
/// Returns an iterator over all possible values of the type /// Returns an iterator over all possible values of the type
#[inline] #[inline]
pub fn iter() -> impl Iterator<Item = $t<AXIS>> pub fn iter() -> impl DoubleEndedIterator<Item = $t<AXIS>>
+ DoubleEndedIterator
+ ExactSizeIterator + ExactSizeIterator
+ FusedIterator + FusedIterator
+ Clone + Clone