Some more cleanup

This commit is contained in:
ptitSeb
2022-08-23 11:28:43 +02:00
parent 8e7fc49d38
commit 2953093fb1
5 changed files with 58 additions and 59 deletions

View File

@@ -265,7 +265,7 @@ mod tests {
_vm_definition_location: NonNull<VMMemoryDefinition>,
) -> Result<VMMemory, MemoryError> {
let memory = VMTinyMemory::new().unwrap();
Ok(VMMemory::from_custom(memory))
Ok(memory.into())
}
/// Create a table owned by the host given a [`TableType`] and a [`TableStyle`].