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> {
12031203 } ;
12041204
12051205 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)
12091207 {
12101208 Some ( path_excluding_wildcard)
12111209 } else {
Original file line number Diff line number Diff line change @@ -604,7 +604,7 @@ impl<Ctx: ScriptContext> Miniscript<Ctx::Key, Ctx> {
604604/// The type information and extra properties are implied by the AST.
605605impl < Pk : MiniscriptKey , Ctx : ScriptContext > PartialOrd for Miniscript < Pk , Ctx > {
606606 fn partial_cmp ( & self , other : & Miniscript < Pk , Ctx > ) -> Option < cmp:: Ordering > {
607- Some ( self . node . cmp ( & other. node ) )
607+ Some ( self . cmp ( other) )
608608 }
609609}
610610
You can’t perform that action at this time.
0 commit comments