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:
ovibos 2017-01-08 15:52:54 -05:00 committed by GitHub
parent b8f0d697a5
commit 3252e51af4

View file

@ -26,7 +26,7 @@ fn main() {
let cfg = Config {
nickname: Some(format!("irc-rs")),
server: Some(format!("irc.example.com")),
channels: Some(vec![format!("#test")])
channels: Some(vec![format!("#test")]),
.. Default::default()
};
let server = IrcServer::from_config(cfg).unwrap();