From cccc79ba0dd61161f1ccb1c871733e2459ca59b6 Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Sun, 3 Sep 2023 11:01:30 -0400 Subject: [PATCH] remove unneeded lifetimes --- capnp/src/schema.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/capnp/src/schema.rs b/capnp/src/schema.rs index 8750a0a66..50d07a3b4 100644 --- a/capnp/src/schema.rs +++ b/capnp/src/schema.rs @@ -170,13 +170,13 @@ impl FieldList { } } -impl<'a> IndexMove for FieldList { +impl IndexMove for FieldList { fn index_move(&self, index: u16) -> Field { self.get(index) } } -impl<'a> ::core::iter::IntoIterator for FieldList { +impl ::core::iter::IntoIterator for FieldList { type Item = Field; type IntoIter = ShortListIter; @@ -216,13 +216,13 @@ impl FieldSubset { } } -impl<'a> IndexMove for FieldSubset { +impl IndexMove for FieldSubset { fn index_move(&self, index: u16) -> Field { self.get(index) } } -impl<'a> ::core::iter::IntoIterator for FieldSubset { +impl ::core::iter::IntoIterator for FieldSubset { type Item = Field; type IntoIter = ShortListIter;