Skip to content

Commit

Permalink
correct typo in World.send() docs (#18)
Browse files Browse the repository at this point in the history
Co-authored-by: Quentin_T <[email protected]>
  • Loading branch information
QuentinTessier and QuentinTessierAvatar authored Jan 18, 2024
1 parent 2b921e5 commit 83a3ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83a3ed8

Please sign in to comment.