mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05:00
fix allocate example
This commit is contained in:
parent
f08af9b242
commit
551a36f7c9
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
// const ptr = try allocator.create(i32);
|
||||
// std.debug.print("ptr={*}\n", .{ptr});
|
||||
//
|
||||
// const slice_ptr = try allocator.create(f64, 5);
|
||||
// const slice_ptr = try allocator.alloc(f64, 5);
|
||||
// std.debug.print("ptr={*}\n", .{ptr});
|
||||
// }
|
||||
|
||||
|
|
Loading…
Reference in a new issue