File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
consensus_encoding/src/encode Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -753,7 +753,7 @@ impl<'de> serde::Deserialize<'de> for Psbt {
753753 {
754754 struct Visitor ;
755755
756- impl < ' de > serde:: de:: Visitor < ' de > for Visitor {
756+ impl serde:: de:: Visitor < ' _ > for Visitor {
757757 type Value = Psbt ;
758758
759759 fn expecting ( & self , f : & mut core:: fmt:: Formatter ) -> core:: fmt:: Result {
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ mod tests {
277277
278278 struct TestBytes < ' a > ( & ' a [ u8 ] , bool ) ;
279279
280- impl < ' a > Encodable for TestBytes < ' a > {
280+ impl Encodable for TestBytes < ' _ > {
281281 type Encoder < ' s >
282282 = BytesEncoder < ' s >
283283 where
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ impl<'e> WitnessesEncoder<'e> {
431431}
432432
433433#[ cfg( feature = "alloc" ) ]
434- impl < ' e > Encoder for WitnessesEncoder < ' e > {
434+ impl Encoder for WitnessesEncoder < ' _ > {
435435 #[ inline]
436436 fn current_chunk ( & self ) -> Option < & [ u8 ] > {
437437 // `advance` sets `cur_enc` to `None` once the slice encoder is completely exhausted.
@@ -628,7 +628,7 @@ impl<'de> Deserialize<'de> for OutPoint {
628628 if deserializer. is_human_readable ( ) {
629629 struct StringVisitor ;
630630
631- impl < ' de > de:: Visitor < ' de > for StringVisitor {
631+ impl de:: Visitor < ' _ > for StringVisitor {
632632 type Value = OutPoint ;
633633
634634 fn expecting ( & self , formatter : & mut fmt:: Formatter ) -> fmt:: Result {
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ impl Encodable for Witness {
279279 }
280280}
281281
282- impl < ' a > Encoder for WitnessEncoder < ' a > {
282+ impl Encoder for WitnessEncoder < ' _ > {
283283 #[ inline]
284284 fn current_chunk ( & self ) -> Option < & [ u8 ] > { self . 0 . current_chunk ( ) }
285285
You can’t perform that action at this time.
0 commit comments