1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

from_base64 returns Vec<u8> now

This commit is contained in:
Michael Gehring 2014-05-16 10:34:02 +02:00
parent b1983536e1
commit 93f7220a40

View file

@ -115,7 +115,7 @@ fn decode(input: &mut Reader, ignore_garbage: bool) {
Ok(bytes) => {
let mut out = stdout();
match out.write(bytes) {
match out.write(bytes.as_slice()) {
Ok(_) => {}
Err(f) => { crash!(1, "{}", f.to_str()); }
}