Make sure the functions don't get merged
This commit is contained in:
parent
a4090d28da
commit
046556e94c
1 changed files with 1 additions and 1 deletions
|
@ -17,6 +17,6 @@ pub fn trim_in_place(a: &mut &[u8]) {
|
|||
pub fn trim_in_place2(a: &mut &[u8]) {
|
||||
while let Some(&42) = a.first() {
|
||||
// CHECK-NOT: slice_index_order_fail
|
||||
*a = &a[1..];
|
||||
*a = &a[2..];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue