diff --git a/readme.md b/readme.md index fda40ad..422d830 100644 --- a/readme.md +++ b/readme.md @@ -90,7 +90,7 @@ pub fn main() anyerror!void { defer _ = gpa.deinit(); // Initialize the Lua vm - var lua = try Lua.init(allocator); + var lua = try Lua.init(&allocator); defer lua.deinit(); // Add an integer to the Lua stack and retrieve it