Skip to content
Snippets Groups Projects
Commit ac9c3259 authored by Alexander Theißen's avatar Alexander Theißen Committed by GitHub
Browse files

Remove useless borrow (#9615)

parent 84452e8c
No related merge requests found
......@@ -105,7 +105,7 @@ pub mod wasmi {
let range = checked_range(dest_addr.into(), source.len(), destination.len())
.ok_or_else(|| Error::Other("memory write is out of bounds".into()))?;
&mut destination[range].copy_from_slice(source);
destination[range].copy_from_slice(source);
Ok(())
})
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment