Updated README.md - fixes doctest.
This commit is contained in:
parent
bdeb7054b3
commit
e7f5f19234
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ fn main() {
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut reactor = IrcReactor::new().unwrap();
|
let mut reactor = IrcReactor::new().unwrap();
|
||||||
let client = reactor.prepare_client_and_connect(&config).unwrap();
|
let client = reactor.prepare_client_and_connect(config).unwrap();
|
||||||
client.identify().unwrap();
|
client.identify().unwrap();
|
||||||
|
|
||||||
reactor.register_client_with_handler(client, |client, message| {
|
reactor.register_client_with_handler(client, |client, message| {
|
||||||
|
|
Loading…
Reference in a new issue