about summary refs log tree commit diff
path: root/src/libextra/crypto
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-08-17 22:47:54 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-08-20 22:05:03 -0400
commit46fc549fa98d473f925b04e53d08f26c2e15bc2a (patch)
treeece6425698c9bf30a637e4cffc5b5a4fb721083b /src/libextra/crypto
parent0d72f604b7da4f03e7b30466af6b8b55f16c207b (diff)
downloadrust-46fc549fa98d473f925b04e53d08f26c2e15bc2a.tar.gz
rust-46fc549fa98d473f925b04e53d08f26c2e15bc2a.zip
rm obsolete integer to_str{,_radix} free functions
Diffstat (limited to 'src/libextra/crypto')
-rw-r--r--src/libextra/crypto/digest.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libextra/crypto/digest.rs b/src/libextra/crypto/digest.rs
index c7f228af332..d2d6b540cff 100644
--- a/src/libextra/crypto/digest.rs
+++ b/src/libextra/crypto/digest.rs
@@ -8,7 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use std::uint;
 use std::vec;
 
 
@@ -71,7 +70,7 @@ pub trait Digest {
 fn to_hex(rr: &[u8]) -> ~str {
     let mut s = ~"";
     for b in rr.iter() {
-        let hex = uint::to_str_radix(*b as uint, 16u);
+        let hex = (*b as uint).to_str_radix(16u);
         if hex.len() == 1 {
             s.push_char('0');
         }