about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-06-08 00:34:22 -0700
committerbors <bors@rust-lang.org>2013-06-08 00:34:22 -0700
commit1d06aea0b76cc3e466a41cb9b2a6dcde7c197fb2 (patch)
treee85567117466fe02ae7a7a114bfc0b00d514c1b6 /src/rt/rust_task.cpp
parent1cf57f7b673ca94a32ec82c31b2bce79a5ca9394 (diff)
parent43cae880790b532e5b3e2fb99c64a4ec78030652 (diff)
downloadrust-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