chore: clippy fix useless_conversion
This commit is contained in:
@@ -194,8 +194,8 @@ impl IntoIterator for RangeCase {
|
||||
#[inline(always)]
|
||||
fn into_iter(self) -> Self::IntoIter {
|
||||
match self {
|
||||
Self::ExclusiveInt(r, ..) => Box::new(r.into_iter()),
|
||||
Self::InclusiveInt(r, ..) => Box::new(r.into_iter()),
|
||||
Self::ExclusiveInt(r, ..) => Box::new(r),
|
||||
Self::InclusiveInt(r, ..) => Box::new(r),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user