diff options
| author | bors <bors@rust-lang.org> | 2013-06-08 00:34:22 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-06-08 00:34:22 -0700 |
| commit | 1d06aea0b76cc3e466a41cb9b2a6dcde7c197fb2 (patch) | |
| tree | e85567117466fe02ae7a7a114bfc0b00d514c1b6 /src/rt/rust_task.cpp | |
| parent | 1cf57f7b673ca94a32ec82c31b2bce79a5ca9394 (diff) | |
| parent | 43cae880790b532e5b3e2fb99c64a4ec78030652 (diff) | |
| download | rust-1d06aea0b76cc3e466a41cb9b2a6dcde7c197fb2.tar.gz rust-1d06aea0b76cc3e466a41cb9b2a6dcde7c197fb2.zip | |
auto merge of #7005 : dotdash/rust/fix_get_str_from, r=bstrie
As the comment said, the subtraction is bogus for multibyte characters. Fortunately, we can just use last_pos instead of pos to get the correct position without any subtraction hackery.
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions
