about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-10-15 00:37:32 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-10-15 16:23:28 -0400
commite1a26ad2713994ccba65d62ca64a2eb5db4eaf81 (patch)
treef7727d6f22617258d6a5e05917defc459418af0c /src/rt/sync/rust_thread.cpp
parentaa93381e1459c5e739fab400ce8f5f83c9466804 (diff)
downloadrust-e1a26ad2713994ccba65d62ca64a2eb5db4eaf81.tar.gz
rust-e1a26ad2713994ccba65d62ca64a2eb5db4eaf81.zip
use element count in slices, not size in bytes
This allows the indexing bounds check or other comparisons against an
element length to avoid a multiplication by the size.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions