Skip to content

Commit f6ab1c9

Browse files
authored
Fix example in README (#6)
1 parent b9db7d8 commit f6ab1c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fn move_system(positions: []Position, velocities: []const Velocity) void {
3737
//Optionally, systems can receive the components iterator (usually not necessary)
3838
fn move_system_with_it(it: *ecs.iter_t, positions: []Position, velocities: []const Velocity) void {
3939
const type_str = ecs.table_str(it.world, it.table).?;
40-
print("Move entities with [{s}]\n", .{type_str});
40+
std.debug.print("Move entities with [{s}]\n", .{type_str});
4141
defer ecs.os.free(type_str);
4242
4343
for (positions, velocities) |*p, v| {

0 commit comments

Comments
 (0)