about summary refs log tree commit diff
path: root/src/librustpkg
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-06 08:39:54 -0800
committerbors <bors@rust-lang.org>2013-03-06 08:39:54 -0800
commit67100ddb3519dedf8ab07371a381c7762f9fcc4f (patch)
tree6f732380151c44a2f086ebd95f70e06446538fbe /src/librustpkg
parent959e483fb705e99097a85ce42371bd57b78bd180 (diff)
parent12f06bb496cf5f3ec692f2b71309bb56d4571992 (diff)
downloadrust-67100ddb3519dedf8ab07371a381c7762f9fcc4f.tar.gz
rust-67100ddb3519dedf8ab07371a381c7762f9fcc4f.zip
auto merge of #5251 : bstrie/rust/deimpselfcore2, r=pcwalton
Diffstat (limited to 'src/librustpkg')
-rw-r--r--src/librustpkg/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustpkg/util.rs b/src/librustpkg/util.rs
index d7428ae15e7..32f9593d9a6 100644
--- a/src/librustpkg/util.rs
+++ b/src/librustpkg/util.rs
@@ -253,7 +253,7 @@ pub fn error(msg: ~str) {
 }
 
 pub fn hash(data: ~str) -> ~str {
-    let hasher = hash::default_state();
+    let hasher = &hash::default_state();
 
     hasher.write_str(data);
     hasher.result_str()