Skip to content

Commit

Permalink
Fix lifetime lints
Browse files Browse the repository at this point in the history
  • Loading branch information
bobozaur committed Sep 5, 2024
1 parent 881abc9 commit 40f11e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/types/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ where
}
}

impl<T> Type<Exasol> for &[T]
impl<'a, T> Type<Exasol> for &'a [T]
where
T: Type<Exasol>,
T: Type<Exasol> + 'a,
{
fn type_info() -> <Exasol as Database>::TypeInfo {
T::type_info()
Expand Down Expand Up @@ -119,9 +119,9 @@ where
}
}

impl<T> Type<Exasol> for &mut [T]
impl<'a, T> Type<Exasol> for &'a mut [T]
where
T: Type<Exasol>,
T: Type<Exasol> + 'a,
{
fn type_info() -> <Exasol as Database>::TypeInfo {
T::type_info()
Expand Down

0 comments on commit 40f11e6

Please sign in to comment.