File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ impl Action {
164164 ) {
165165 match self {
166166 Self :: Slice ( range) => {
167- if range. should_panic ( & control) {
167+ if range. should_panic ( control) {
168168 assert_panic ( || range. assert_range ( control, subject) )
169169 } else {
170170 range. assert_range ( control, subject) ;
@@ -243,7 +243,7 @@ impl Action {
243243 TestBounds :: ToInclusive ( end) if end == usize:: max_value ( ) => return ,
244244 _ => { }
245245 }
246- if range. should_panic ( & control) {
246+ if range. should_panic ( control) {
247247 assert_panic ( || match range {
248248 TestBounds :: Range ( start, end) => {
249249 ( control. drain ( start..end) , subject. drain ( start..end) )
@@ -285,7 +285,7 @@ impl Action {
285285 TestBounds :: ToInclusive ( end) if end == usize:: max_value ( ) => return ,
286286 _ => { }
287287 }
288- if range. should_panic ( & control) {
288+ if range. should_panic ( control) {
289289 assert_panic ( || match range {
290290 TestBounds :: Range ( start, end) => {
291291 control. replace_range ( start..end, & string) ;
You can’t perform that action at this time.
0 commit comments