about summary refs log tree commit diff
path: root/src/test/run-pass/tuple-struct-construct.rs
diff options
context:
space:
mode:
authorblake2-ppc <blake2-ppc>2013-09-26 09:19:26 +0200
committerblake2-ppc <blake2-ppc>2013-09-26 09:25:32 +0200
commit57757a8051101eb64eb7a330d7c673422e06a57b (patch)
treee05530055e219f0726c5a06ca9ac19492b0f9919 /src/test/run-pass/tuple-struct-construct.rs
parent5adfa1038787cb042ca5bbe634082201d71a3b72 (diff)
downloadrust-57757a8051101eb64eb7a330d7c673422e06a57b.tar.gz
rust-57757a8051101eb64eb7a330d7c673422e06a57b.zip
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