about summary refs log tree commit diff
path: root/src/librustpkg/workcache_support.rs
diff options
context:
space:
mode:
authorPalmer Cox <p@lmercox.com>2013-10-26 16:49:51 -0400
committerPalmer Cox <p@lmercox.com>2013-10-27 21:25:19 -0400
commit2d5cb5d99a68d9b603675b1c4284dbe37333332c (patch)
treec5bcb630d21739824839e9d0cfd71405c5aa8979 /src/librustpkg/workcache_support.rs
parentff9e573a6752cde4760fafdb94f7337c9e133905 (diff)
downloadrust-2d5cb5d99a68d9b603675b1c4284dbe37333332c.tar.gz
rust-2d5cb5d99a68d9b603675b1c4284dbe37333332c.zip
Integrate the code in the digest and cryptoutil modules directly into the sha1 module.
Diffstat (limited to 'src/librustpkg/workcache_support.rs')
-rw-r--r--src/librustpkg/workcache_support.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustpkg/workcache_support.rs b/src/librustpkg/workcache_support.rs
index 1cdaefd592b..3adb33ec2f4 100644
--- a/src/librustpkg/workcache_support.rs
+++ b/src/librustpkg/workcache_support.rs
@@ -12,8 +12,7 @@ use std::rt::io;
 use std::rt::io::extensions::ReaderUtil;
 use std::rt::io::file::FileInfo;
 use extra::workcache;
-use sha1::Sha1;
-use digest::Digest;
+use sha1::{Digest, Sha1};
 
 /// Hashes the file contents along with the last-modified time
 pub fn digest_file_with_date(path: &Path) -> ~str {