File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1203,9 +1203,7 @@ impl<K: InnerXKey> DescriptorXKey<K> {
1203
1203
} ;
1204
1204
1205
1205
if & compare_fingerprint == fingerprint
1206
- && compare_path
1207
- . into_iter ( )
1208
- . eq ( path_excluding_wildcard. into_iter ( ) )
1206
+ && compare_path. into_iter ( ) . eq ( & path_excluding_wildcard)
1209
1207
{
1210
1208
Some ( path_excluding_wildcard)
1211
1209
} else {
Original file line number Diff line number Diff line change @@ -604,7 +604,7 @@ impl<Ctx: ScriptContext> Miniscript<Ctx::Key, Ctx> {
604
604
/// The type information and extra properties are implied by the AST.
605
605
impl < Pk : MiniscriptKey , Ctx : ScriptContext > PartialOrd for Miniscript < Pk , Ctx > {
606
606
fn partial_cmp ( & self , other : & Miniscript < Pk , Ctx > ) -> Option < cmp:: Ordering > {
607
- Some ( self . node . cmp ( & other. node ) )
607
+ Some ( self . cmp ( other) )
608
608
}
609
609
}
610
610
You can’t perform that action at this time.
0 commit comments