Documented panic condition for client registration with a reactor.
This commit is contained in:
parent
5bd349f8ff
commit
7d8feafb52
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue