From 83a3ed801008a976dd79e10068157b02c3b76a36 Mon Sep 17 00:00:00 2001 From: Quentin Tessier Date: Thu, 18 Jan 2024 10:40:04 +0100 Subject: [PATCH] correct typo in World.send() docs (#18) Co-authored-by: Quentin_T --- src/systems.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systems.zig b/src/systems.zig index bd1f0a2d..5d81bbbe 100644 --- a/src/systems.zig +++ b/src/systems.zig @@ -121,7 +121,7 @@ pub fn World(comptime mods: anytype) type { /// Broadcasts an event to all modules that are subscribed to it. /// /// The message tag corresponds with the handler method name to be invoked. For example, - /// if `send(.tick)` is invoked, all modules which declare a `pub fn init` will be invoked. + /// if `send(.tick)` is invoked, all modules which declare a `pub fn tick` will be invoked. /// /// Events sent by Mach itself, or the application itself, may be single words. To prevent /// name conflicts, events sent by modules provided by a library should prefix their events