about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2015-10-01 11:55:52 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2015-10-01 15:24:23 +0200
commitbda083fa706c1a5a26a5c197960197086a84b4b9 (patch)
treeaae79fcb6c7a6f2568b7fcb8980b690eb1101607 /src/libstd/thread
parente5ba127734f7754a326d3197229e94c8a5a3be23 (diff)
downloadrust-bda083fa706c1a5a26a5c197960197086a84b4b9.tar.gz
rust-bda083fa706c1a5a26a5c197960197086a84b4b9.zip
Avoid unnecessary temporaries when ref'ing a DST value
A DST value and a fat pointer to it have the same representation, all we
have to do is to adjust the type of the datum holding the pointer.
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions