Fixed documentation

This commit is contained in:
famfo 2022-01-05 11:53:20 +01:00
parent 03f2252456
commit 32fb07646b

View file

@ -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);
}