Add chat example documentation. (#85)

This commit is contained in:
Javier Viola
2021-08-02 21:42:10 +02:00
committed by GitHub
parent a0f6dccc5e
commit c6b7ad0f33
3 changed files with 13 additions and 0 deletions
+8
View File
@@ -1,3 +1,11 @@
//! Example chat application.
//!
//! Run with
//!
//! ```
//! cargo run --features=ws --example chat
//! ```
use std::collections::HashSet;
use std::net::SocketAddr;
use std::sync::{Arc, Mutex};