diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-01-23 16:39:09 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-01-23 16:39:09 -0500 |
| commit | 988ce7180d998b969c08286b083b73bd5be623bc (patch) | |
| tree | 5ea70db619bf587908fd4959b7a339fc23e98915 /src/libcore | |
| parent | 8bf9bae30389b69bebeed4b1da60166fe0458a3f (diff) | |
rm unnecessary usage of 'unsafe' from hashmap
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/hashmap.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcore/hashmap.rs b/src/libcore/hashmap.rs index ee84647bea6..dddc006af81 100644 --- a/src/libcore/hashmap.rs +++ b/src/libcore/hashmap.rs @@ -98,9 +98,7 @@ pub mod linear { idx: uint, len_buckets: uint) -> uint { let n = (idx + 1) % len_buckets; - unsafe{ // argh. log not considered pure. - debug!("next_bucket(%?, %?) = %?", idx, len_buckets, n); - } + debug!("next_bucket(%?, %?) = %?", idx, len_buckets, n); return n; } |
