about summary refs log tree commit diff
path: root/src/rt/jemalloc/test/aligned_alloc.exp
diff options
context:
space:
mode:
authorJack Moffitt <jack@metajack.im>2013-10-17 23:32:46 -0600
committerJack Moffitt <jack@metajack.im>2013-10-17 23:36:43 -0600
commit090b2453a1a2df8ebd6216855515339822823d80 (patch)
treefd2841aec79c43a18706c0c9a588462fbbe441f4 /src/rt/jemalloc/test/aligned_alloc.exp
parent3fd0e3a77be624f41647bb930843de27bc1cc985 (diff)
downloadrust-090b2453a1a2df8ebd6216855515339822823d80.tar.gz
rust-090b2453a1a2df8ebd6216855515339822823d80.zip
Fix starts_with() and ends_with().
d4a32386f3b6 broke these since slice_to() and slice_from() must get character
boundaries, and arbitrary needle lengths don't necessarily map to character
boundaries of the haystack.

This also adds new tests that would have caught this bug.
Diffstat (limited to 'src/rt/jemalloc/test/aligned_alloc.exp')
0 files changed, 0 insertions, 0 deletions