about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-11-16 17:29:19 -0500
committerNiko Matsakis <niko@alum.mit.edu>2013-11-25 06:41:26 -0500
commitce44094bbbeb76dc5721701e91f0e466e59f0b70 (patch)
tree477648f04c2d069ffacb3be3749d88a0adafa3f1 /src/rustllvm/RustWrapper.cpp
parent40439516ecf10c760a9df2cd562f6b695d4d4a6b (diff)
downloadrust-ce44094bbbeb76dc5721701e91f0e466e59f0b70.tar.gz
rust-ce44094bbbeb76dc5721701e91f0e466e59f0b70.zip
Add [mut_]shift_ref/[mut_]pop_ref functions, which return a pointer to the first/last item in the slice and modify the slice to exclude the returned item. Useful when writing iterators over mutable references.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions