From bed5e4d04ea5f69a7d40cee4250a73875cbb06e6 Mon Sep 17 00:00:00 2001 From: "Kurt Heiritz (pseudo)" Date: Sun, 5 Oct 2025 21:22:30 +0530 Subject: [PATCH] Update lib.rs to remove unnecessary `Default::default()` --- tuplez-macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuplez-macros/src/lib.rs b/tuplez-macros/src/lib.rs index 1eea788..b0470bf 100644 --- a/tuplez-macros/src/lib.rs +++ b/tuplez-macros/src/lib.rs @@ -32,7 +32,7 @@ pub fn tuple_traits_impl(input: TokenStream) -> TokenStream { type Iter<'a> = std::array::IntoIter<&'a T, 0> where Self: 'a, T: 'a; type IterMut<'a> = std::array::IntoIter<&'a mut T, 0> where Self: 'a, T: 'a; fn to_array(self) -> Self::Array { - Default::default() + [] } fn iter<'a>(&'a self) -> Self::Iter<'a> where