about summary refs log tree commit diff
path: root/src/libcoretest/hash
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2015-02-28 20:07:05 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2015-03-01 09:35:57 +0200
commit55ce45e7b52a0a360cf88cba71f59f7d3e9b2346 (patch)
tree5c49becf849c32f717a60f05f3bf62f7a02db78c /src/libcoretest/hash
parent890293655251c372ea99694c0c9f0795e2663286 (diff)
downloadrust-55ce45e7b52a0a360cf88cba71f59f7d3e9b2346.tar.gz
rust-55ce45e7b52a0a360cf88cba71f59f7d3e9b2346.zip
remove some compiler warnings
Diffstat (limited to 'src/libcoretest/hash')
-rw-r--r--src/libcoretest/hash/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcoretest/hash/mod.rs b/src/libcoretest/hash/mod.rs
index 9b6af182f72..14cd8ae45a6 100644
--- a/src/libcoretest/hash/mod.rs
+++ b/src/libcoretest/hash/mod.rs
@@ -85,7 +85,7 @@ struct CustomHasher { output: u64 }
 
 impl Hasher for CustomHasher {
     fn finish(&self) -> u64 { self.output }
-    fn write(&mut self, data: &[u8]) { panic!() }
+    fn write(&mut self, _: &[u8]) { panic!() }
     fn write_u64(&mut self, data: u64) { self.output = data; }
 }