From d591fc8b56b654d3121781a898ead2bb32a83b0e Mon Sep 17 00:00:00 2001 From: Lennart Behme <44500208+lbhm@users.noreply.github.com> Date: Fri, 19 Sep 2025 08:16:11 +0200 Subject: [PATCH] chore!: Make StructType::into_fields return type consistent --- kernel/src/schema/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/src/schema/mod.rs b/kernel/src/schema/mod.rs index d10f9817d..8c1c4302a 100644 --- a/kernel/src/schema/mod.rs +++ b/kernel/src/schema/mod.rs @@ -674,7 +674,9 @@ impl StructType { } /// Gets an iterator over all the fields in this struct type. - pub fn into_fields(self) -> impl ExactSizeIterator { + pub fn into_fields( + self, + ) -> impl ExactSizeIterator + DoubleEndedIterator + FusedIterator { self.fields.into_values() }