From a4c967c5bd132d2bf9f2b151ee2ca1f4aa05f4a4 Mon Sep 17 00:00:00 2001 From: Genny Date: Fri, 24 Sep 2021 03:42:12 -0500 Subject: indicies takes slice of u8 now --- src/writer/imagebuilder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/writer') diff --git a/src/writer/imagebuilder.rs b/src/writer/imagebuilder.rs index 1486f16..42c94f8 100644 --- a/src/writer/imagebuilder.rs +++ b/src/writer/imagebuilder.rs @@ -97,8 +97,8 @@ impl ImageBuilder { } } - pub fn indicies(mut self, indicies: Vec) -> Self { - self.indicies = indicies; + pub fn indicies(mut self, indicies: &[u8]) -> Self { + self.indicies = indicies.to_vec(); self } -- cgit 1.4.1-3-g733a5