Finish de-implicit-selifizng libcore
This commit is contained in:
parent
959e483fb7
commit
12f06bb496
5 changed files with 7 additions and 9 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue