From 59007d61112b22facb3bbb601e65d8904b04b9aa Mon Sep 17 00:00:00 2001 From: Simon Sellar Date: Wed, 6 Apr 2022 20:03:34 +0930 Subject: [PATCH] Minor fixup of websocket example logging text. (#910) --- examples/websockets/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/websockets/src/main.rs b/examples/websockets/src/main.rs index 5657a53a..f38da380 100644 --- a/examples/websockets/src/main.rs +++ b/examples/websockets/src/main.rs @@ -80,10 +80,10 @@ async fn handle_socket(mut socket: WebSocket) { if let Ok(msg) = msg { match msg { Message::Text(t) => { - println!("client send str: {:?}", t); + println!("client sent str: {:?}", t); } Message::Binary(_) => { - println!("client send binary data"); + println!("client sent binary data"); } Message::Ping(_) => { println!("socket ping");