79
79
/// effect, use `seek_after` or `seek_after_assume_call_returns`.
80
80
pub fn seek_before ( & mut self , target : Location ) {
81
81
assert ! ( target <= self . body. terminator_loc( target. block) ) ;
82
- self . _seek ( target, false ) ;
82
+ self . seek_ ( target, false ) ;
83
83
}
84
84
85
85
/// Advances the cursor to hold the full effect of all statements (and possibly closing
98
98
self . seek_to_block_start ( target. block ) ;
99
99
}
100
100
101
- self . _seek ( target, true ) ;
101
+ self . seek_ ( target, true ) ;
102
102
}
103
103
104
104
/// Advances the cursor to hold all effects up to and including of the statement (or
@@ -110,7 +110,7 @@ where
110
110
let terminator_loc = self . body . terminator_loc ( target. block ) ;
111
111
assert ! ( target. statement_index <= terminator_loc. statement_index) ;
112
112
113
- self . _seek ( target, true ) ;
113
+ self . seek_ ( target, true ) ;
114
114
115
115
if target != terminator_loc {
116
116
return ;
@@ -134,7 +134,7 @@ where
134
134
}
135
135
}
136
136
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 ) {
138
138
use CursorPosition :: * ;
139
139
140
140
match self . pos {
0 commit comments