@@ -119,8 +119,6 @@ where
119119
120120 let mut transitions: Map < State , Map < Transition < R > , Set < State > > > = self . transitions ;
121121
122- // the iteration order doesn't matter
123- #[ cfg_attr( feature = "rustc" , allow( rustc:: potential_query_instability) ) ]
124122 for ( source, transition) in other. transitions {
125123 let fix_state = |state| if state == other. start { self . accepting } else { state } ;
126124 let entry = transitions. entry ( fix_state ( source) ) . or_default ( ) ;
@@ -142,8 +140,6 @@ where
142140
143141 let mut transitions: Map < State , Map < Transition < R > , Set < State > > > = self . transitions . clone ( ) ;
144142
145- // the iteration order doesn't matter
146- #[ cfg_attr( feature = "rustc" , allow( rustc:: potential_query_instability) ) ]
147143 for ( & ( mut source) , transition) in other. transitions . iter ( ) {
148144 // if source is starting state of `other`, replace with starting state of `self`
149145 if source == other. start {
@@ -152,8 +148,6 @@ where
152148 let entry = transitions. entry ( source) . or_default ( ) ;
153149 for ( edge, destinations) in transition {
154150 let entry = entry. entry ( edge. clone ( ) ) . or_default ( ) ;
155- // the iteration order doesn't matter
156- #[ cfg_attr( feature = "rustc" , allow( rustc:: potential_query_instability) ) ]
157151 for & ( mut destination) in destinations {
158152 // if dest is accepting state of `other`, replace with accepting state of `self`
159153 if destination == other. accepting {
0 commit comments