aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/buffer_map.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-04-28 19:42:46 +0200
committerMs2ger <ms2ger@gmail.com>2015-04-28 23:31:10 +0200
commit903305416a8fd4eef75960f9e83491adaaa519e8 (patch)
tree445f64c0a52c3b554ffc50ee96fe54ea11f32f86 /components/gfx/buffer_map.rs
parentb6fc83cf2b4b426548bb9d10e9493f2b111bd617 (diff)
downloadservo-903305416a8fd4eef75960f9e83491adaaa519e8.tar.gz
servo-903305416a8fd4eef75960f9e83491adaaa519e8.zip
Implement Clone for Copy types.
Diffstat (limited to 'components/gfx/buffer_map.rs')
-rw-r--r--components/gfx/buffer_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/buffer_map.rs b/components/gfx/buffer_map.rs
index e0cf4d22682..69b798b4e19 100644
--- a/components/gfx/buffer_map.rs
+++ b/components/gfx/buffer_map.rs
@@ -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 {