diff options
| author | Jack Moffitt <jack@metajack.im> | 2013-10-17 23:32:46 -0600 |
|---|---|---|
| committer | Jack Moffitt <jack@metajack.im> | 2013-10-17 23:36:43 -0600 |
| commit | 090b2453a1a2df8ebd6216855515339822823d80 (patch) | |
| tree | fd2841aec79c43a18706c0c9a588462fbbe441f4 /src/rt/jemalloc/test/aligned_alloc.exp | |
| parent | 3fd0e3a77be624f41647bb930843de27bc1cc985 (diff) | |
| download | rust-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
