Finish de-implicit-selifizng libcore

This commit is contained in:
Ben Striegel 2013-03-06 04:00:25 -05:00
parent 959e483fb7
commit 12f06bb496
5 changed files with 7 additions and 9 deletions

View file

@ -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()