deque: get rid of Copy requirement

Closes #3748
This commit is contained in:
Daniel Micay 2013-02-16 21:34:38 -05:00
parent 5aa0463564
commit 8b38e07f24

View file

@ -67,9 +67,7 @@ impl<T> Deque<T> {
self.nelts -= 1u;
result
}
}
impl<T: Copy> Deque<T> {
fn add_front(&mut self, t: T) {
let oldlo = self.lo;
if self.lo == 0u {