diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-04-09 00:06:18 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-04-09 02:00:33 -0400 |
commit | f1f522df90e4af23f442067e269463710193148d (patch) | |
tree | b397d986d68623e79f12499da64f76f26cd30f99 /src/base64.rs | |
parent | 6807601cb64e7b18b832cab2939cbb107e3727bb (diff) | |
download | matasano-f1f522df90e4af23f442067e269463710193148d.tar.gz matasano-f1f522df90e4af23f442067e269463710193148d.zip |
get this compiling again
Diffstat (limited to 'src/base64.rs')
-rw-r--r-- | src/base64.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base64.rs b/src/base64.rs index cc0f787..9b01da8 100644 --- a/src/base64.rs +++ b/src/base64.rs @@ -1,5 +1,5 @@ -use serialize::base64::{ToBase64, STANDARD}; +use rustc_serialize::base64::{ToBase64, STANDARD}; -pub fn to_base64 (bytes: &[u8]) -> String { +pub fn to_base64(bytes: &[u8]) -> String { return bytes.to_base64(STANDARD); } |