7979 /// effect, use `seek_after` or `seek_after_assume_call_returns`.
8080 pub fn seek_before ( & mut self , target : Location ) {
8181 assert ! ( target <= self . body. terminator_loc( target. block) ) ;
82- self . _seek ( target, false ) ;
82+ self . seek_ ( target, false ) ;
8383 }
8484
8585 /// Advances the cursor to hold the full effect of all statements (and possibly closing
9898 self . seek_to_block_start ( target. block ) ;
9999 }
100100
101- self . _seek ( target, true ) ;
101+ self . seek_ ( target, true ) ;
102102 }
103103
104104 /// Advances the cursor to hold all effects up to and including of the statement (or
@@ -110,7 +110,7 @@ where
110110 let terminator_loc = self . body . terminator_loc ( target. block ) ;
111111 assert ! ( target. statement_index <= terminator_loc. statement_index) ;
112112
113- self . _seek ( target, true ) ;
113+ self . seek_ ( target, true ) ;
114114
115115 if target != terminator_loc {
116116 return ;
@@ -134,7 +134,7 @@ where
134134 }
135135 }
136136
137- fn _seek ( & mut self , target : Location , apply_after_effect_at_target : bool ) {
137+ fn seek_ ( & mut self , target : Location , apply_after_effect_at_target : bool ) {
138138 use CursorPosition :: * ;
139139
140140 match self . pos {
0 commit comments