Make sure the functions don't get merged

This commit is contained in:
Dániel Buga 2020-08-28 01:16:20 +02:00
parent a4090d28da
commit 046556e94c

View File

@ -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..];
}
}