aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/buffer_map.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-01-08 08:00:57 -0700
committerbors-servo <metajack+bors@gmail.com>2015-01-08 08:00:57 -0700
commit1d7148c79f9124779a910fd5291c5fa0543b2dae (patch)
tree39c86574fa33821af51560fb6991911328bdf4e2 /components/gfx/buffer_map.rs
parent19cb0fa9e457c18b36944c2691c7491ee6eb9cd2 (diff)
parent16c7060bc8ff91527ae97f8a3feee5706747b9c5 (diff)
downloadservo-1d7148c79f9124779a910fd5291c5fa0543b2dae.tar.gz
servo-1d7148c79f9124779a910fd5291c5fa0543b2dae.zip
auto merge of #4554 : servo/servo/rustup_20141221, r=jdm
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 fab6ffc2f5e..9c1197ec8b2 100644
--- a/components/gfx/buffer_map.rs
+++ b/components/gfx/buffer_map.rs
@@ -27,7 +27,7 @@ pub struct BufferMap {
}
/// A key with which to store buffers. It is based on the size of the buffer.
-#[deriving(Eq)]
+#[deriving(Eq, Copy)]
struct BufferKey([uint, ..2]);
impl Hash for BufferKey {