]> git.lizzy.rs Git - rust.git/commit
Implement a few methods for RingBuf
authorPiotr Czarnecki <pioczarn@gmail.com>
Mon, 5 Jan 2015 14:48:58 +0000 (15:48 +0100)
committerPiotr Czarnecki <pioczarn@gmail.com>
Mon, 5 Jan 2015 14:48:58 +0000 (15:48 +0100)
commit156a1c31346634c16beaf827d4d6efdfef6e2b36
tree311bf8c61fdc8d56e00c9cf63b12cc54febd8009
parentb2085d967468cf6694b510573196396d509ec486
Implement a few methods for RingBuf

* shrink_to_fit
* swap_back_remove
* swap_front_remove
* truncate
* resize
src/libcollections/ring_buf.rs