about summary refs log tree commit diff
path: root/src/writer
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer')
-rw-r--r--src/writer/imagebuilder.rs4
1 files changed, 2 insertions, 2 deletions
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<u8>) -> Self {
-        self.indicies = indicies;
+    pub fn indicies(mut self, indicies: &[u8]) -> Self {
+        self.indicies = indicies.to_vec();
         self
     }