diff options
| author | blake2-ppc <blake2-ppc> | 2013-09-26 09:19:26 +0200 |
|---|---|---|
| committer | blake2-ppc <blake2-ppc> | 2013-09-26 09:25:32 +0200 |
| commit | 57757a8051101eb64eb7a330d7c673422e06a57b (patch) | |
| tree | e05530055e219f0726c5a06ca9ac19492b0f9919 /src/test/run-pass/tuple-struct-construct.rs | |
| parent | 5adfa1038787cb042ca5bbe634082201d71a3b72 (diff) | |
| download | rust-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
