@@ -158,7 +158,7 @@ impl Instrument {
158158 }
159159 } else {
160160 // an opcode for the <region>
161- if status. are_regions ( ) {
161+ if status. are_regions_in_current_group ( ) {
162162 #[ cfg( debug) ]
163163 println ! (
164164 " - new region opcode: {:?} (g{} r{})" ,
@@ -365,7 +365,7 @@ impl InstrumentParsingStatus {
365365 // ensure we are out of the <global> header
366366 self . is_header_global = false ;
367367 // ensure we reset the region counter for the current group
368- self . region_reset ( ) ;
368+ self . region_reset_in_current_group ( ) ;
369369 // increment the group counter
370370 self . group_increment ( ) ;
371371 }
@@ -435,9 +435,9 @@ impl InstrumentParsingStatus {
435435 }
436436
437437 /// Resets the region counter for the group
438- fn region_reset ( & mut self ) {
438+ fn region_reset_in_current_group ( & mut self ) {
439439 #[ cfg( debug) ]
440- println ! ( " status.region_reset ()" ) ;
440+ println ! ( " status.region_reset_in_current_group ()" ) ;
441441 self . region_counter_in_group = None ;
442442 }
443443
@@ -463,7 +463,7 @@ impl InstrumentParsingStatus {
463463 }
464464
465465 /// Are there any regions already defined for the current group?
466- pub fn are_regions ( & self ) -> bool {
466+ pub fn are_regions_in_current_group ( & self ) -> bool {
467467 if self . region_counter_in_group == None {
468468 return false ;
469469 }
0 commit comments