fix a comment

This commit is contained in:
vms 2021-04-20 23:44:04 +03:00
parent b6d0ecc11c
commit 6afa678905

View File

@ -18,7 +18,7 @@
use super::log;
/// Allocates memory area of specified size and type and returns its address.
/// The returned
/// The allocated memory region is intended to be use as a Vec.
#[no_mangle]
pub unsafe fn allocate(elem_count: usize, elem_ty: usize) -> usize {
let allocated_mem = allocate_impl(elem_count, elem_ty);