Quick doc update
This commit is contained in:
parent
3e871ccc8d
commit
1074cc7ee3
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "eventbus"
|
||||
version = "0.5.0"
|
||||
version = "0.5.1"
|
||||
authors = ["SoniEx2 <endermoneymod@gmail.com>"]
|
||||
description = "Safe, fast and concurrent event system, inspired by the MinecraftForge event bus."
|
||||
keywords = ["event", "safe", "fast", "concurrent", "bus"]
|
||||
|
|
|
@ -44,7 +44,7 @@ macro_rules! register_hook {
|
|||
|
||||
/// Posts an event.
|
||||
///
|
||||
/// Usage: `post_event!(bus, type, event)`
|
||||
/// Usage: `post_event!(bus, event, type, type, ...)`
|
||||
#[macro_export]
|
||||
macro_rules! post_event {
|
||||
// prefer (bus, ty, ty, ty, ..., evt) but rust is just bad at parsing
|
||||
|
|
Loading…
Reference in New Issue