Skip to content

Commit 4d01d6a

Browse files
authored
der: Remove Decode<'a> bound in set_of.rs (#1712)
1 parent 3a74aaa commit 4d01d6a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

der/src/asn1/set_of.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ where
125125
}
126126
}
127127

128-
impl<'a, T, const N: usize> EncodeValue for SetOf<T, N>
128+
impl<T, const N: usize> EncodeValue for SetOf<T, N>
129129
where
130-
T: 'a + Decode<'a> + Encode + DerOrd,
130+
T: Encode + DerOrd,
131131
{
132132
fn value_len(&self) -> Result<Length, Error> {
133133
self.iter()
@@ -143,9 +143,9 @@ where
143143
}
144144
}
145145

146-
impl<'a, T, const N: usize> FixedTag for SetOf<T, N>
146+
impl<T, const N: usize> FixedTag for SetOf<T, N>
147147
where
148-
T: Decode<'a> + DerOrd,
148+
T: DerOrd,
149149
{
150150
const TAG: Tag = Tag::Set;
151151
}
@@ -345,9 +345,9 @@ where
345345
}
346346

347347
#[cfg(feature = "alloc")]
348-
impl<'a, T> EncodeValue for SetOfVec<T>
348+
impl<T> EncodeValue for SetOfVec<T>
349349
where
350-
T: 'a + Decode<'a> + Encode + DerOrd,
350+
T: Encode + DerOrd,
351351
{
352352
fn value_len(&self) -> Result<Length, Error> {
353353
self.iter()

0 commit comments

Comments
 (0)