Update set_memory_limit doc

This commit is contained in:
Alex Orlenko
2020-07-30 12:16:25 +01:00
parent de2c5cd9a9
commit a172c021c9
+1 -1
View File
@@ -492,7 +492,7 @@ impl Lua {
unsafe { (*extra.mem_info).used_memory as usize }
}
/// Sets a memory limit on this Lua state.
/// Sets a memory limit (in bytes) on this Lua state.
///
/// Once an allocation occurs that would pass this memory limit,
/// a `Error::MemoryError` is generated instead.