Skip to content

Commit

Permalink
Remove more redundant lifetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
koute committed Mar 14, 2024
1 parent 329dd28 commit 0b53b3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions substrate/primitives/runtime-interface/src/pass_by.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ where
}

#[cfg(substrate_runtime)]
impl<'a, T, const N: usize> IntoFFIValue for PassPointerAndReadCopy<T, N>
impl<T, const N: usize> IntoFFIValue for PassPointerAndReadCopy<T, N>
where
T: AsRef<[u8]>,
{
Expand Down Expand Up @@ -207,7 +207,7 @@ impl<'a> FromFFIValue<'a> for PassFatPointerAndRead<Vec<u8>> {
}

#[cfg(substrate_runtime)]
impl<'a, T> IntoFFIValue for PassFatPointerAndRead<T>
impl<T> IntoFFIValue for PassFatPointerAndRead<T>
where
T: AsRef<[u8]>,
{
Expand Down Expand Up @@ -474,7 +474,7 @@ where
}

#[cfg(substrate_runtime)]
impl<'a, T, U> IntoFFIValue for PassAs<T, U>
impl<T, U> IntoFFIValue for PassAs<T, U>
where
U: RIType + IntoFFIValue + Primitive,
U::Inner: From<T>,
Expand Down

0 comments on commit 0b53b3c

Please sign in to comment.