Fix typo in README.md
Without a trailing comma for the `channels` member, the getting started example won't compile.
This commit is contained in:
parent
b8f0d697a5
commit
3252e51af4
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ fn main() {
|
||||||
let cfg = Config {
|
let cfg = Config {
|
||||||
nickname: Some(format!("irc-rs")),
|
nickname: Some(format!("irc-rs")),
|
||||||
server: Some(format!("irc.example.com")),
|
server: Some(format!("irc.example.com")),
|
||||||
channels: Some(vec![format!("#test")])
|
channels: Some(vec![format!("#test")]),
|
||||||
.. Default::default()
|
.. Default::default()
|
||||||
};
|
};
|
||||||
let server = IrcServer::from_config(cfg).unwrap();
|
let server = IrcServer::from_config(cfg).unwrap();
|
||||||
|
|
Loading…
Reference in a new issue