docs: message.rs typo

Simple typo fix of is_close() method
pull/337/head
Jack Wills 2 years ago committed by Daniel Abramov
parent c6769e3dae
commit 657faf427f
  1. 2
      src/protocol/message.rs

@ -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(_))
}

Loading…
Cancel
Save