@@ -308,15 +308,15 @@ fn find_good_method_for_match<'a>(
308308 should_be_left : & ' a str ,
309309 should_be_right : & ' a str ,
310310) -> Option < & ' a str > {
311- let pat_left = arms[ 0 ] . pat ;
312- let pat_right = arms[ 1 ] . pat ;
311+ let first_pat = arms[ 0 ] . pat ;
312+ let second_pat = arms[ 1 ] . pat ;
313313
314- let body_node_pair = if ( is_pat_variant ( cx, pat_left , path_left, expected_item_left) )
315- && ( is_pat_variant ( cx, pat_right , path_right, expected_item_right) )
314+ let body_node_pair = if ( is_pat_variant ( cx, first_pat , path_left, expected_item_left) )
315+ && ( is_pat_variant ( cx, second_pat , path_right, expected_item_right) )
316316 {
317317 ( & arms[ 0 ] . body . kind , & arms[ 1 ] . body . kind )
318- } else if ( is_pat_variant ( cx, pat_left , path_left, expected_item_right) )
319- && ( is_pat_variant ( cx, pat_right , path_right, expected_item_left) )
318+ } else if ( is_pat_variant ( cx, first_pat , path_left, expected_item_right) )
319+ && ( is_pat_variant ( cx, second_pat , path_right, expected_item_left) )
320320 {
321321 ( & arms[ 1 ] . body . kind , & arms[ 0 ] . body . kind )
322322 } else {
0 commit comments