Skip to content

Commit a1c04f3

Browse files
authored
Remove Decode<'a> bound in set_of.rs
1 parent 3a74aaa commit a1c04f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

der/src/asn1/set_of.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ where
127127

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

146146
impl<'a, 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
}
@@ -347,7 +347,7 @@ where
347347
#[cfg(feature = "alloc")]
348348
impl<'a, T> EncodeValue for SetOfVec<T>
349349
where
350-
T: 'a + Decode<'a> + Encode + DerOrd,
350+
T: 'a + Encode + DerOrd,
351351
{
352352
fn value_len(&self) -> Result<Length, Error> {
353353
self.iter()

0 commit comments

Comments
 (0)