about summary refs log tree commit diff
path: root/src/libstd/num
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2015-02-01 12:44:15 -0500
committerJorge Aparicio <japaricious@gmail.com>2015-02-04 20:06:08 -0500
commit571cc7f8e98da46735a5728387c768cde75d010c (patch)
tree2260e6f54186e1876a093bc670535116233ef524 /src/libstd/num
parentba2f13ef0667ce90f55ab0f1506bf5ee7b852d96 (diff)
downloadrust-571cc7f8e98da46735a5728387c768cde75d010c.tar.gz
rust-571cc7f8e98da46735a5728387c768cde75d010c.zip
remove all kind annotations from closures
Diffstat (limited to 'src/libstd/num')
-rw-r--r--src/libstd/num/strconv.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/num/strconv.rs b/src/libstd/num/strconv.rs
index 9c4741b3ce3..4ae7d3437fd 100644
--- a/src/libstd/num/strconv.rs
+++ b/src/libstd/num/strconv.rs
@@ -321,10 +321,10 @@ pub fn float_to_str_bytes_common<T: Float>(
         // cut off the one extra digit, and depending on its value
         // round the remaining ones.
         if limit_digits && dig == digit_count {
-            let ascii2value = |&: chr: u8| {
+            let ascii2value = |chr: u8| {
                 (chr as char).to_digit(radix).unwrap()
             };
-            let value2ascii = |&: val: uint| {
+            let value2ascii = |val: uint| {
                 char::from_digit(val, radix).unwrap() as u8
             };