Implement Clone for Copy types.

This commit is contained in:
Ms2ger 2015-04-28 19:42:46 +02:00
parent b6fc83cf2b
commit 903305416a
53 changed files with 105 additions and 105 deletions

View file

@ -26,7 +26,7 @@ pub struct BufferMap {
}
/// A key with which to store buffers. It is based on the size of the buffer.
#[derive(Eq, Copy)]
#[derive(Eq, Copy, Clone)]
struct BufferKey([usize; 2]);
impl Hash for BufferKey {