Fix doc typo

pull/358/head
Alex Butler 2 years ago
parent 41818166cf
commit dea67d6cca
  1. 2
      src/protocol/mod.rs

@ -42,7 +42,7 @@ pub struct WebSocketConfig {
/// to the underlying stream.
/// The default value is 128 KiB.
///
/// Note: [`flush`](WebSocket::flush) will always be fully write the buffer regardless.
/// Note: [`flush`](WebSocket::flush) will always fully write the buffer regardless.
pub write_buffer_size: usize,
/// The max size of the write buffer in bytes. Setting this can provide backpressure
/// in the case the write buffer is filling up due to write errors.

Loading…
Cancel
Save