From 8c125364e43692103fb6f739647a0e6fc1ca2915 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 24 Aug 2021 15:19:47 +0200 Subject: [PATCH] websocket: fix doc test Signed-off-by: Wolfgang Bumiller --- proxmox-http/src/websocket/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(()) /// }