replace manual ptr arithmetic with ptr_sub
This commit is contained in:
parent
754f6d4a8c
commit
9db0134018
3 changed files with 8 additions and 23 deletions
|
@ -2,6 +2,7 @@
|
|||
// prevent optimizing away bounds checks
|
||||
|
||||
// compile-flags: -O
|
||||
// ignore-debug: the debug assertions get in the way
|
||||
|
||||
#![crate_type="rlib"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue