diff --git a/Cargo.toml b/Cargo.toml index aef558a..8b3b403 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fimg" -version = "0.4.42" +version = "0.4.43" authors = ["bend-n "] license = "MIT" edition = "2021" diff --git a/src/term/b64.rs b/src/term/b64.rs index 1038d45..07d4ac6 100644 --- a/src/term/b64.rs +++ b/src/term/b64.rs @@ -19,8 +19,6 @@ fn b64() { t("Hello World", "SGVsbG8gV29ybGQ="); } -extern crate test; - pub fn encode(i: &[u8]) -> String { let mut x = Vec::with_capacity(size(i)); unsafe { portable(i, x.as_mut_ptr()) }; diff --git a/src/term/bloc.rs b/src/term/bloc.rs index 5f6347b..7bafd78 100644 --- a/src/term/bloc.rs +++ b/src/term/bloc.rs @@ -57,7 +57,7 @@ where }; (o $n:literal) => { transmute::, 1>, Image, N>>( - transmute::, N>, Image<&[u8], 1>>(self.as_ref().to_owned()) + transmute::, N>, Image, 1>>(self.as_ref().to_owned()) .scale::(w, h), ) };