diff --git a/proxmox-http/src/websocket/mod.rs b/proxmox-http/src/websocket/mod.rs index 4830db6a..1fe10ae8 100644 --- a/proxmox-http/src/websocket/mod.rs +++ b/proxmox-http/src/websocket/mod.rs @@ -236,7 +236,7 @@ pub fn create_frame( /// # use std::io; /// # use tokio::io::{AsyncWrite, AsyncWriteExt}; /// async fn code(writer: I) -> io::Result<()> { -/// let mut ws = WebSocketWriter::new(None, false, writer); +/// let mut ws = WebSocketWriter::new(None, writer); /// ws.write(&[1u8,2u8,3u8]).await?; /// Ok(()) /// }