Skip to content

Commit

Permalink
deque: get rid of Copy requirement
Browse files Browse the repository at this point in the history
Closes #3748
  • Loading branch information
thestinger committed Feb 17, 2013
1 parent 5aa0463 commit 8b38e07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libstd/deque.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

6 comments on commit 8b38e07

@graydon
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

@bors
Copy link
Contributor

@bors bors commented on 8b38e07 Feb 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 8b38e07 Feb 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging thestinger/rust/deque = 8b38e07 into auto

@bors
Copy link
Contributor

@bors bors commented on 8b38e07 Feb 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thestinger/rust/deque = 8b38e07 merged ok, testing candidate = a6945f2

@bors
Copy link
Contributor

@bors bors commented on 8b38e07 Feb 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 8b38e07 Feb 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = a6945f2

Please sign in to comment.