@@ -215,7 +215,7 @@ impl<Pk: MiniscriptKey, Ctx: ScriptContext> Miniscript<Pk, Ctx> {
215
215
216
216
/// Iterator for traversing all [Miniscript] miniscript AST references starting from some specific
217
217
/// node which constructs the iterator via [Miniscript::iter] method.
218
- pub struct Iter < ' a , Pk : ' a + MiniscriptKey , Ctx : ' a + ScriptContext > {
218
+ pub struct Iter < ' a , Pk : MiniscriptKey , Ctx : ScriptContext > {
219
219
next : Option < & ' a Miniscript < Pk , Ctx > > ,
220
220
// Here we store vec of path elements, where each element is a tuple, consisting of:
221
221
// 1. Miniscript node on the path
@@ -277,7 +277,7 @@ impl<'a, Pk: MiniscriptKey, Ctx: ScriptContext> Iterator for Iter<'a, Pk, Ctx> {
277
277
278
278
/// Iterator for traversing all [MiniscriptKey]'s in AST starting from some specific node which
279
279
/// constructs the iterator via [Miniscript::iter_pk] method.
280
- pub struct PkIter < ' a , Pk : ' a + MiniscriptKey , Ctx : ' a + ScriptContext > {
280
+ pub struct PkIter < ' a , Pk : MiniscriptKey , Ctx : ScriptContext > {
281
281
node_iter : Iter < ' a , Pk , Ctx > ,
282
282
curr_node : Option < & ' a Miniscript < Pk , Ctx > > ,
283
283
key_index : usize ,
@@ -319,7 +319,7 @@ impl<'a, Pk: MiniscriptKey, Ctx: ScriptContext> Iterator for PkIter<'a, Pk, Ctx>
319
319
320
320
/// Iterator for traversing all [MiniscriptKey] hashes in AST starting from some specific node which
321
321
/// constructs the iterator via [Miniscript::iter_pkh] method.
322
- pub struct PkhIter < ' a , Pk : ' a + MiniscriptKey , Ctx : ' a + ScriptContext > {
322
+ pub struct PkhIter < ' a , Pk : MiniscriptKey , Ctx : ScriptContext > {
323
323
node_iter : Iter < ' a , Pk , Ctx > ,
324
324
curr_node : Option < & ' a Miniscript < Pk , Ctx > > ,
325
325
key_index : usize ,
@@ -371,7 +371,7 @@ pub enum PkPkh<Pk: MiniscriptKey> {
371
371
/// Iterator for traversing all [MiniscriptKey]'s and hashes, depending what data are present in AST,
372
372
/// starting from some specific node which constructs the iterator via
373
373
/// [Miniscript::iter_pk_pkh] method.
374
- pub struct PkPkhIter < ' a , Pk : ' a + MiniscriptKey , Ctx : ' a + ScriptContext > {
374
+ pub struct PkPkhIter < ' a , Pk : MiniscriptKey , Ctx : ScriptContext > {
375
375
node_iter : Iter < ' a , Pk , Ctx > ,
376
376
curr_node : Option < & ' a Miniscript < Pk , Ctx > > ,
377
377
key_index : usize ,
0 commit comments