From 1074cc7ee39f6b7eea558d919f9c4911ad9abded Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Mon, 3 Dec 2018 13:33:19 -0200 Subject: [PATCH] Quick doc update --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0a3a329..8341c4d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "eventbus" -version = "0.5.0" +version = "0.5.1" authors = ["SoniEx2 "] description = "Safe, fast and concurrent event system, inspired by the MinecraftForge event bus." keywords = ["event", "safe", "fast", "concurrent", "bus"] diff --git a/src/lib.rs b/src/lib.rs index ae8c0a9..658e955 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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