about summary refs log tree commit diff
path: root/src/test/run-pass/tuple-struct-construct.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-26 13:21:08 -0700
committerbors <bors@rust-lang.org>2013-09-26 13:21:08 -0700
commitf210a1671883d5fe97a2b06ebbe9270fa9a6943a (patch)
tree08c98c9b674128c00451b34ce630c933febe6800 /src/test/run-pass/tuple-struct-construct.rs
parent47f2e80b65bf814953c0ceda3b48e46802883f4b (diff)
parent57757a8051101eb64eb7a330d7c673422e06a57b (diff)
downloadrust-f210a1671883d5fe97a2b06ebbe9270fa9a6943a.tar.gz
rust-f210a1671883d5fe97a2b06ebbe9270fa9a6943a.zip
auto merge of #9520 : blake2-ppc/rust/ringbuf-swap, r=thestinger
extra::ringbuf: Implement method `.swap(uint, uint)` just like vector

RingBuf::swap(&mut self, i, j) swaps the element at indices `i` and `j`
if both elements are in bounds, otherwise it fails.
Diffstat (limited to 'src/test/run-pass/tuple-struct-construct.rs')
0 files changed, 0 insertions, 0 deletions