@@ -655,25 +655,25 @@ pub mod internal {
655655 // than `find_best_match()`.
656656 fn find_unmatchable_elements ( & self ) -> UnmatchableElements < N > {
657657 let unmatchable_actual =
658- self . 0 . iter ( ) . map ( |row| row. iter ( ) . all ( |& e| !e . into_bool ( ) ) ) . collect ( ) ;
658+ self . 0 . iter ( ) . map ( |row| row. iter ( ) . all ( |& e| e . is_no_match ( ) ) ) . collect ( ) ;
659659 let mut unmatchable_expected = [ false ; N ] ;
660660 for ( col_idx, expected) in unmatchable_expected. iter_mut ( ) . enumerate ( ) {
661- * expected = self . 0 . iter ( ) . map ( |row| row[ col_idx] ) . all ( |e| !e . into_bool ( ) ) ;
661+ * expected = self . 0 . iter ( ) . map ( |row| row[ col_idx] ) . all ( |e| e . is_no_match ( ) ) ;
662662 }
663663 UnmatchableElements { unmatchable_actual, unmatchable_expected }
664664 }
665665
666666 fn find_unmatched_expected ( & self ) -> UnmatchableElements < N > {
667667 let mut unmatchable_expected = [ false ; N ] ;
668668 for ( col_idx, expected) in unmatchable_expected. iter_mut ( ) . enumerate ( ) {
669- * expected = self . 0 . iter ( ) . map ( |row| row[ col_idx] ) . all ( |e| !e . into_bool ( ) ) ;
669+ * expected = self . 0 . iter ( ) . map ( |row| row[ col_idx] ) . all ( |e| e . is_no_match ( ) ) ;
670670 }
671671 UnmatchableElements { unmatchable_actual : vec ! [ false ; N ] , unmatchable_expected }
672672 }
673673
674674 fn find_unmatched_actual ( & self ) -> UnmatchableElements < N > {
675675 let unmatchable_actual =
676- self . 0 . iter ( ) . map ( |row| row. iter ( ) . all ( |e| !e . into_bool ( ) ) ) . collect ( ) ;
676+ self . 0 . iter ( ) . map ( |row| row. iter ( ) . all ( |e| e . is_no_match ( ) ) ) . collect ( ) ;
677677 UnmatchableElements { unmatchable_actual, unmatchable_expected : [ false ; N ] }
678678 }
679679
@@ -794,7 +794,7 @@ pub mod internal {
794794 if seen[ expected_idx] {
795795 continue ;
796796 }
797- if ! self . 0 [ actual_idx] [ expected_idx] . into_bool ( ) {
797+ if self . 0 [ actual_idx] [ expected_idx] . is_no_match ( ) {
798798 continue ;
799799 }
800800 // There is an edge between `actual_idx` and `expected_idx`.
0 commit comments