about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2014-10-27 16:31:41 -0400
committerDaniel Micay <danielmicay@gmail.com>2014-10-27 16:37:31 -0400
commit7e2e4ce59284a68ced232e72b9c01f2e074d4bd2 (patch)
tree6364dbf65e4215d69ac049a6b744b972168c4c90 /src/rustllvm/RustWrapper.cpp
parente05c3b7799b45b78baf49f05763865be838f5b43 (diff)
downloadrust-7e2e4ce59284a68ced232e72b9c01f2e074d4bd2.tar.gz
rust-7e2e4ce59284a68ced232e72b9c01f2e074d4bd2.zip
return &mut T from the arenas, not &T
The arenas write the value to memory and then return a non-aliasing
reference to it. The returned reference can be mutable and can be
coerced to an immutable one.

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions