Quick doc update

This commit is contained in:
SoniEx2 2018-12-03 13:33:19 -02:00
parent 3e871ccc8d
commit 1074cc7ee3
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "eventbus" name = "eventbus"
version = "0.5.0" version = "0.5.1"
authors = ["SoniEx2 <endermoneymod@gmail.com>"] authors = ["SoniEx2 <endermoneymod@gmail.com>"]
description = "Safe, fast and concurrent event system, inspired by the MinecraftForge event bus." description = "Safe, fast and concurrent event system, inspired by the MinecraftForge event bus."
keywords = ["event", "safe", "fast", "concurrent", "bus"] keywords = ["event", "safe", "fast", "concurrent", "bus"]

View File

@ -44,7 +44,7 @@ macro_rules! register_hook {
/// Posts an event. /// Posts an event.
/// ///
/// Usage: `post_event!(bus, type, event)` /// Usage: `post_event!(bus, event, type, type, ...)`
#[macro_export] #[macro_export]
macro_rules! post_event { macro_rules! post_event {
// prefer (bus, ty, ty, ty, ..., evt) but rust is just bad at parsing // prefer (bus, ty, ty, ty, ..., evt) but rust is just bad at parsing