Fixed documentation
This commit is contained in:
parent
03f2252456
commit
32fb07646b
|
@ -14,7 +14,7 @@ async fn main() -> Result<(), tokio::io::Error> {
|
|||
client.identify().await.unwrap();
|
||||
|
||||
loop {
|
||||
if let Some(ref command) = client.read().await? {
|
||||
if let Some(command) = client.read().await? {
|
||||
if let Command::PRIVMSG(nick, channel, message) = command {
|
||||
println!("{} in {}: {}", nick, channel, message);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue