File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -218,9 +218,9 @@ impl<'a> Su3<'a> {
218
218
/// The generator returned by this function exiting with `CustomError(1)` means that the version length is below 16 bytes.
219
219
/// If this error occurs you have to pad the bytes with null bytes.
220
220
#[ must_use]
221
- pub fn serialise < W > ( & ' a self ) -> impl SerializeFn < W > + ' a
221
+ pub fn serialise < ' w , W > ( & ' w self ) -> impl SerializeFn < W > + ' w
222
222
where
223
- W : Write + ' a ,
223
+ W : Write + ' w ,
224
224
{
225
225
ser:: serialise ( self )
226
226
}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ use cookie_factory::{
9
9
GenError , SerializeFn ,
10
10
} ;
11
11
12
- pub fn serialise < ' a , W > ( su3 : & ' a Su3 < ' a > ) -> impl SerializeFn < W > + ' a
12
+ pub fn serialise < ' a , W > ( su3 : & ' a Su3 < ' _ > ) -> impl SerializeFn < W > + ' a
13
13
where
14
14
W : Write + ' a ,
15
15
{
You can’t perform that action at this time.
0 commit comments