Instantiate takes reference

This commit is contained in:
Lachlan Sneff
2019-02-02 15:58:33 -08:00
parent eba66f3b33
commit ccd43df767
9 changed files with 23 additions and 36 deletions

View File

@ -236,7 +236,7 @@ impl Memory {
}
impl IsExport for Memory {
fn to_export(&mut self) -> Export {
fn to_export(&self) -> Export {
Export::Memory(self.clone())
}
}