mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-06 18:13:29 +02:00
fix allocate example
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
// const ptr = try allocator.create(i32);
|
// const ptr = try allocator.create(i32);
|
||||||
// std.debug.print("ptr={*}\n", .{ptr});
|
// 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});
|
// std.debug.print("ptr={*}\n", .{ptr});
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user