diff --git a/crates/rune/src/runtime/unit/byte_code.rs b/crates/rune/src/runtime/unit/byte_code.rs index dc5b93859..e8a743a1c 100644 --- a/crates/rune/src/runtime/unit/byte_code.rs +++ b/crates/rune/src/runtime/unit/byte_code.rs @@ -97,7 +97,7 @@ impl UnitStorage for ByteCodeUnit { } fn get(&self, ip: usize) -> Result, BadInstruction> { - let Some(mut bytes) = self.bytes.get(ip..) else { + let Some(bytes) = self.bytes.get(ip..) else { return Ok(None); };