diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-01-11 09:58:05 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-01-13 06:27:34 -0800 |
| commit | 455f8b0d4588b6d890ce8a908d488c0325e3f29e (patch) | |
| tree | 9da702ded644a4d6eabe0936949060ca0ecc1c9d /src/libstd/map.rs | |
| parent | d2be5b6c7a20b8b33f61cd0db4a3cbbdd7a5448a (diff) | |
deprecate fn exprs and the fn() type, preferring fn@ and native fn
Diffstat (limited to 'src/libstd/map.rs')
| -rw-r--r-- | src/libstd/map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/map.rs b/src/libstd/map.rs index 0ea2f35d719..c1385bb87d5 100644 --- a/src/libstd/map.rs +++ b/src/libstd/map.rs @@ -13,14 +13,14 @@ A function that returns a hash of a value. The hash should concentrate entropy in the lower bits. */ -type hashfn<K> = fn(K) -> uint; +type hashfn<K> = fn@(K) -> uint; /* Type: eqfn Equality */ -type eqfn<K> = fn(K, K) -> bool; +type eqfn<K> = fn@(K, K) -> bool; /* Type: hashset |
