From 89697449ff27707fd0d7299ea5868eb13d9af4a5 Mon Sep 17 00:00:00 2001 From: Daniel Abramov Date: Tue, 17 Aug 2021 15:19:57 +0200 Subject: [PATCH] Fixes #230 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 40df7f1..318b925 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Lightweight stream-based WebSocket implementation for [Rust](https://www.rust-la ```rust use std::net::TcpListener; use std::thread::spawn; -use tungstenite::server::accept; +use tungstenite::accept; /// A WebSocket echo server fn main () {