Escape square brackets in doc comment

pull/168/head
WiredSound 4 years ago
parent b85a661967
commit 78d59f9266
  1. 2
      src/protocol/frame/coding.rs

@ -143,7 +143,7 @@ pub enum CloseCode {
Abnormal, Abnormal,
/// Indicates that an endpoint is terminating the connection /// Indicates that an endpoint is terminating the connection
/// because it has received data within a message that was not /// because it has received data within a message that was not
/// consistent with the type of the message (e.g., non-UTF-8 [RFC3629] /// consistent with the type of the message (e.g., non-UTF-8 \[RFC3629\]
/// data within a text message). /// data within a text message).
Invalid, Invalid,
/// Indicates that an endpoint is terminating the connection /// Indicates that an endpoint is terminating the connection

Loading…
Cancel
Save