From 7d8feafb52cabd69055bcdf55c42a6f495d5d687 Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Mon, 14 May 2018 20:53:06 +0200 Subject: [PATCH] Documented panic condition for client registration with a reactor. --- src/client/reactor.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/reactor.rs b/src/client/reactor.rs index 34bf937..012864b 100644 --- a/src/client/reactor.rs +++ b/src/client/reactor.rs @@ -122,6 +122,8 @@ impl IrcReactor { /// connection indefinitely (or until failure). As registration is consumed by `run`, subsequent /// calls to run will require new registration. /// + /// **Note**: A client can only be registered once. Subsequent attempts will cause a panic. + /// /// # Example /// ```no_run /// # extern crate irc;