Skip to content

Commit

Permalink
docs: message.rs typo
Browse files Browse the repository at this point in the history
Simple typo fix of is_close() method
  • Loading branch information
mrjackwills authored and daniel-abramov committed Feb 1, 2023
1 parent c6769e3 commit 657faf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol/message.rs
Expand Up @@ -213,7 +213,7 @@ impl Message {
matches!(*self, Message::Pong(_))
}

/// Indicates whether a message ia s close message.
/// Indicates whether a message is a close message.
pub fn is_close(&self) -> bool {
matches!(*self, Message::Close(_))
}
Expand Down

0 comments on commit 657faf4

Please sign in to comment.