File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
deps_common/bitcoin/blockdata Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ impl<const MAX_SIZE: u16> BitVec<MAX_SIZE> {
171
171
Ok ( bitvec)
172
172
}
173
173
174
- pub fn iter ( & self ) -> BitVecIter < MAX_SIZE > {
174
+ pub fn iter ( & self ) -> BitVecIter < ' _ , MAX_SIZE > {
175
175
let byte = self . data . first ( ) ;
176
176
BitVecIter {
177
177
index : 0 ,
Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ impl Script {
385
385
/// opcodes, datapushes and errors. At most one error will be returned and then the
386
386
/// iterator will end. To instead iterate over the script as sequence of bytes, treat
387
387
/// it as a slice using `script[..]` or convert it to a vector using `into_bytes()`.
388
- pub fn iter ( & self , enforce_minimal : bool ) -> Instructions {
388
+ pub fn iter ( & self , enforce_minimal : bool ) -> Instructions < ' _ > {
389
389
Instructions {
390
390
data : & self . 0 [ ..] ,
391
391
enforce_minimal,
Original file line number Diff line number Diff line change @@ -36,14 +36,14 @@ impl FromSql for Sha256dHash {
36
36
}
37
37
38
38
impl ToSql for Sha256dHash {
39
- fn to_sql ( & self ) -> rusqlite:: Result < ToSqlOutput > {
39
+ fn to_sql ( & self ) -> rusqlite:: Result < ToSqlOutput < ' _ > > {
40
40
let hex_str = self . be_hex_string ( ) ;
41
41
Ok ( hex_str. into ( ) )
42
42
}
43
43
}
44
44
45
- impl rusqlite :: types :: ToSql for StacksAddress {
46
- fn to_sql ( & self ) -> rusqlite:: Result < rusqlite :: types :: ToSqlOutput > {
45
+ impl ToSql for StacksAddress {
46
+ fn to_sql ( & self ) -> rusqlite:: Result < ToSqlOutput < ' _ > > {
47
47
let addr_str = self . to_string ( ) ;
48
48
Ok ( addr_str. into ( ) )
49
49
}
Original file line number Diff line number Diff line change @@ -749,7 +749,7 @@ macro_rules! impl_byte_array_rusqlite_only {
749
749
}
750
750
751
751
impl rusqlite:: types:: ToSql for $thing {
752
- fn to_sql( & self ) -> rusqlite:: Result <rusqlite:: types:: ToSqlOutput > {
752
+ fn to_sql( & self ) -> rusqlite:: Result <rusqlite:: types:: ToSqlOutput < ' _> > {
753
753
let hex_str = self . to_hex( ) ;
754
754
Ok ( hex_str. into( ) )
755
755
}
You can’t perform that action at this time.
0 commit comments