derive Copy for Queue
This commit is contained in:
parent
2a53e992ae
commit
a0aaba461d
|
@ -3,7 +3,7 @@
|
|||
//! queues that have the same two pieces immediately available, by automatically moving
|
||||
//! the front of the queue into the hold slot if the hold slot would be empty.
|
||||
|
||||
#[derive(Clone, Eq, PartialEq, Debug)]
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
|
||||
pub struct Queue<'a, T: Copy> {
|
||||
pub hold: Option<T>,
|
||||
pub next: &'a [T],
|
||||
|
|
Loading…
Reference in New Issue